diff options
Diffstat (limited to 'tests/regressiontests/mongodb/tests.py')
| -rw-r--r-- | tests/regressiontests/mongodb/tests.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/regressiontests/mongodb/tests.py b/tests/regressiontests/mongodb/tests.py index 5c58f81171..e977ebeb42 100644 --- a/tests/regressiontests/mongodb/tests.py +++ b/tests/regressiontests/mongodb/tests.py @@ -95,8 +95,7 @@ class MongoTestCase(TestCase): ] for i in xrange(5): - # TODO: should be i, but Mongo falls over with limit(0) - for j in xrange(i+1, 5): + for j in xrange(i, 5): self.assertQuerysetEqual( Artist.objects.all()[i:j], artists[i:j], |
