Fixed a couple of stale tests caused by patch for #19462
Commit was 088d3bc2f8
This commit is contained in:
parent
088d3bc2f8
commit
7eba5fbc02
|
@ -253,7 +253,8 @@ class ModelPaginationTests(TestCase):
|
||||||
"<Article: Article 3>",
|
"<Article: Article 3>",
|
||||||
"<Article: Article 4>",
|
"<Article: Article 4>",
|
||||||
"<Article: Article 5>"
|
"<Article: Article 5>"
|
||||||
]
|
],
|
||||||
|
ordered=False
|
||||||
)
|
)
|
||||||
self.assertTrue(p.has_next())
|
self.assertTrue(p.has_next())
|
||||||
self.assertFalse(p.has_previous())
|
self.assertFalse(p.has_previous())
|
||||||
|
@ -272,7 +273,8 @@ class ModelPaginationTests(TestCase):
|
||||||
"<Article: Article 7>",
|
"<Article: Article 7>",
|
||||||
"<Article: Article 8>",
|
"<Article: Article 8>",
|
||||||
"<Article: Article 9>"
|
"<Article: Article 9>"
|
||||||
]
|
],
|
||||||
|
ordered=False
|
||||||
)
|
)
|
||||||
self.assertFalse(p.has_next())
|
self.assertFalse(p.has_next())
|
||||||
self.assertTrue(p.has_previous())
|
self.assertTrue(p.has_previous())
|
||||||
|
|
Loading…
Reference in New Issue