Skip to content
Snippets Groups Projects
  1. Mar 15, 2015
  2. Nov 28, 2014
  3. Nov 26, 2014
  4. Nov 23, 2014
  5. Nov 17, 2014
    • Dan Michael O. Heggø's avatar
      Fix so maxlag is handled correctly · 566867ab
      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
      566867ab
  6. Sep 27, 2014
  7. Sep 02, 2014
  8. 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
  9. Aug 26, 2014
  10. Aug 18, 2014
  11. Jun 16, 2013
Loading