From d42bb17c5e72f1aa503322e08488cd634f1a38c2 Mon Sep 17 00:00:00 2001 From: Rob Hudson Date: Thu, 31 May 2012 10:50:55 -0700 Subject: [PATCH] A few more test failure fixes after 3615 change. --- apps/api/tests/test_views.py | 2 +- apps/search/tests/test_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/tests/test_views.py b/apps/api/tests/test_views.py index ae677b2d50..804ad8fcdc 100644 --- a/apps/api/tests/test_views.py +++ b/apps/api/tests/test_views.py @@ -280,7 +280,7 @@ class APITest(TestCase): self.assertContains(response, "Firefox") self.assertContains(response, "1") self.assertContains(response, "2.0") - self.assertContains(response, "3.7a1pre") + self.assertContains(response, "4.0") self.assertContains(response, "ALL") self.assertContains(response, "") self.assertContains(response, "/icons/no-preview.png") diff --git a/apps/search/tests/test_client.py b/apps/search/tests/test_client.py index 9ed0889d40..2f65038fe0 100644 --- a/apps/search/tests/test_client.py +++ b/apps/search/tests/test_client.py @@ -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):