aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_pagination.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_pagination.py b/tests/test_pagination.py
index e32dd028..fffdcbe9 100644
--- a/tests/test_pagination.py
+++ b/tests/test_pagination.py
@@ -450,7 +450,7 @@ class TestCursorPagination:
])
def order_by(self, ordering):
- if ordering.startswith('-'):
+ if ordering[0].startswith('-'):
return MockQuerySet(list(reversed(self.items)))
return self