A few more test failure fixes after 3615 change.
This commit is contained in:
Родитель
69a6cae372
Коммит
d42bb17c5e
|
@ -280,7 +280,7 @@ class APITest(TestCase):
|
|||
self.assertContains(response, "<name>Firefox</name>")
|
||||
self.assertContains(response, "<application_id>1</application_id>")
|
||||
self.assertContains(response, "<min_version>2.0</min_version>")
|
||||
self.assertContains(response, "<max_version>3.7a1pre</max_version>")
|
||||
self.assertContains(response, "<max_version>4.0</max_version>")
|
||||
self.assertContains(response, "<os>ALL</os>")
|
||||
self.assertContains(response, "<eula>")
|
||||
self.assertContains(response, "/icons/no-preview.png</thumbnail>")
|
||||
|
|
|
@ -151,7 +151,7 @@ class SearchTest(SphinxTestCase):
|
|||
def test_version_restriction(self):
|
||||
"""This tests that sphinx will properly restrict by version."""
|
||||
eq_(query("Delicious version:3.6")[0].id, 3615)
|
||||
eq_(len(query("Delicious version:4.0")), 0)
|
||||
eq_(len(query("Delicious version:4.1")), 0)
|
||||
eq_(len(query("Delicious version:10.2.152")), 0)
|
||||
|
||||
def test_sorts(self):
|
||||
|
|
Загрузка…
Ссылка в новой задаче