]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tests: Remove check for 'tbody'
authorStephen Finucane <stephen.finucane@intel.com>
Thu, 18 Feb 2016 15:59:02 +0000 (15:59 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 18 Feb 2016 21:13:15 +0000 (21:13 +0000)
As part of 'f8cc68', the response for the patch list page changed
slightly. This means one of the things we were checking in a test is
no longer valid. Remove this check.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/tests/test_list.py

index 0cc33fcf32f95ad4a0120fe7e8334da105792a07..1139a3485a660186381daab2f96bf475fd6aeaf0 100644 (file)
@@ -40,7 +40,6 @@ class EmptyPatchListTest(TestCase):
         url = reverse('patch-list', kwargs={'project_id': project.linkname})
         response = self.client.get(url)
         self.assertContains(response, 'No patches to display')
-        self.assertNotContains(response, 'tbody')
 
 
 class PatchOrderTest(TestCase):