Skip to content
Snippets Groups Projects
  1. May 28, 2020
  2. Aug 02, 2019
  3. Jan 11, 2018
  4. Nov 16, 2017
    • Adam Williamson's avatar
      Revert "Fix test compat with responses@0.6.0" · cd86bf35
      Adam Williamson authored
      This reverts commit 1650e0e7.
      Upstream restored handling of the adding_headers arg in 0.6.1.
      Going back to using that name means we're still compatible with
      any version of responses after 0.3.0, except 0.6.0. Also adjust
      setup.py to express this correctly.
      cd86bf35
  5. Jul 31, 2017
  6. May 17, 2017
  7. May 11, 2017
    • Dan Michael O. Heggø's avatar
      [#149] Fix login tokens for read protected wikis · 5701b57e
      Dan Michael O. Heggø authored
      On read protected wikis, we must make sure that we don't include extra
      parameters when requesting the login token, or we will get
      `readapideniederror`.
      
      - Remove extraneous `continue` parameter from non-query calls
      - Remove `userinfo` from `meta=tokens` calls
      5701b57e
  8. Apr 28, 2017
  9. Nov 07, 2016
  10. Oct 23, 2016
  11. Jul 03, 2016
  12. Jan 10, 2016
  13. Nov 10, 2015
  14. Mar 15, 2015
  15. Nov 23, 2014
  16. Nov 17, 2014
  17. Oct 26, 2014
  18. Oct 05, 2014
  19. Sep 21, 2014
  20. Sep 05, 2014
  21. Sep 04, 2014
  22. Sep 02, 2014
  23. Aug 31, 2014
    • Dan Michael O. Heggø's avatar
      Fix setup.py test and add tox.ini · 0cf414ea
      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
      0cf414ea
    • Dan Michael O. Heggø's avatar
      Simplify running tests · b3f2551d
      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.
      b3f2551d
  24. Aug 18, 2014
    • Dan Michael O. Heggø's avatar
      1e85766e
    • Dan Michael O. Heggø's avatar
      [#45] replace http.py with the Requests library · 593cb44c
      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
      593cb44c
  25. Jun 15, 2014
  26. Jun 16, 2013
Loading