Fixed a couple of stale tests caused by patch for #19462

Commit was 088d3bc2f8
This commit is contained in:
Anssi Kääriäinen 2012-12-13 15:02:08 +02:00
parent 088d3bc2f8
commit 7eba5fbc02
1 changed files with 4 additions and 2 deletions

View File

@ -253,7 +253,8 @@ class ModelPaginationTests(TestCase):
"<Article: Article 3>",
"<Article: Article 4>",
"<Article: Article 5>"
]
],
ordered=False
)
self.assertTrue(p.has_next())
self.assertFalse(p.has_previous())
@ -272,7 +273,8 @@ class ModelPaginationTests(TestCase):
"<Article: Article 7>",
"<Article: Article 8>",
"<Article: Article 9>"
]
],
ordered=False
)
self.assertFalse(p.has_next())
self.assertTrue(p.has_previous())