summaryrefslogtreecommitdiffstats
path: root/tests/test_rowlimit.py
diff options
context:
space:
mode:
authorAnže Pečar <ensmotko@gmail.com>2016-06-02 15:08:51 -0700
committerAnže Pečar <ensmotko@gmail.com>2016-06-02 18:37:23 -0700
commit302d425609b9bfe1e259b6d688edf5b26364966d (patch)
tree1085480a1985bbbb99365cf9973a5b6fa524c778 /tests/test_rowlimit.py
parent60c5d31a955dfbd5b67eb57750be7fe5b6a2cd78 (diff)
Make sure low_count is never greater than over_default
Diffstat (limited to 'tests/test_rowlimit.py')
-rw-r--r--tests/test_rowlimit.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_rowlimit.py b/tests/test_rowlimit.py
index 41f3c9ca..8d9a87a5 100644
--- a/tests/test_rowlimit.py
+++ b/tests/test_rowlimit.py
@@ -6,13 +6,13 @@ LIMIT = DEFAULT + 1000
over_default = Mock()
-over_default.configure_mock(rowcount=DEFAULT + 1)
+over_default.configure_mock(rowcount=DEFAULT + 10)
over_limit = Mock()
-over_limit.configure_mock(rowcount=LIMIT + 1)
+over_limit.configure_mock(rowcount=LIMIT + 10)
low_count = Mock()
-low_count.configure_mock(rowcount=10)
+low_count.configure_mock(rowcount=1)
def test_default_row_limit():