- Mar 15, 2015
-
-
Dan Michael O. Heggø authored
-
- Nov 28, 2014
-
-
Luis Miguel Morillas authored
-
- Nov 26, 2014
-
-
Dan Michael O. Heggø authored
-
- Nov 23, 2014
-
-
Dan Michael O. Heggø authored
Prepare for Python 3.x support - Use print function - Use compability methods from six
- Nov 17, 2014
-
-
Dan Michael O. Heggø authored
- If database lag exceeds max lag, the API will still send 200, not 503. This was only added to documentation after bugzilla:31156. Ref. <https://www.mediawiki.org/wiki/Manual:Maxlag_parameter> - In addition, Requests doesn't raise an exception when status code != 200 unless raise_for_status() is called, so we should call that to catch any other 5xx errors such as Squid errors. - Replace print statements with logging Note that responses>=0.3.0 is needed to run the test suite now
-
- Sep 27, 2014
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
Also replaced relative links in the README, since PyPI doesn't support them, see http://stackoverflow.com/a/16594755/489916
-
- Sep 02, 2014
-
-
Dan Michael O. Heggø authored
- Require 'ordereddict' only on Python < 2.7 - Don't require 'simplejson'
-
- Aug 31, 2014
-
-
Dan Michael O. Heggø authored
- For some reason, 'pytest-cache' isn't found by setup.py if not specified explicitly in 'tests_require' - Add tox.ini so tests can be run using tox if desired - Update test to not be dependent on serialization
-
Dan Michael O. Heggø authored
- A single command `python setup.py test` will now install test dependencies, make an in-place build and run the tests. - The setup script now requires Setuptools. A message will be printed if it is not found.
-
- Aug 26, 2014
-
-
Dan Michael O. Heggø authored
-
- Aug 18, 2014
-
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
-
Dan Michael O. Heggø authored
- Note the following exception replacements: mwclient.errors.HTTPError -> requests.exceptions.ConnectionError mwclient.errors.HTTPStatusError -> requests.exceptions.HTTPError mwclient.errors.HTTPRedirectError -> requests.exceptions.TooManyRedirects - Removed the `compability.old_upload` method, which was used for MediaWiki < 1.16. - Requests automatically decompresses gzip-encoded responses, and does its best to decode response content to unicode when possible. - [#53] Using the Responses library to mock http requests in tests
-
- Jun 16, 2013
-
-
Dan Michael O. Heggø authored
-