Skip to content

Investigate test failure in test_paramparser #569

Closed
nigelbabu opened this Issue Mar 29, 2013 · 1 comment

2 participants

@nigelbabu
OpenSpending member
FAIL: openspending.test.unit.lib.test_paramparser.TestSearchParamParser.test_pagesize
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/nigel/.virtualenvs/osdemo/local/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/home/nigel/okfn/openspending/openspending/test/unit/lib/test_paramparser.py", line 132, in test_pagesize
    h.assert_equal(out['pagesize'], 100)
AssertionError: 140 != 100
@mk270
OpenSpending member
mk270 commented Apr 3, 2013

There are two tests, for pagesize and facet_pagesize; the facet version is supposed to have a maximum applied. The test assumes that both versions apply the maximum:

@nigelbabu nigelbabu closed this in e5f2bd6 Apr 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.