[PATCH] tests: Remove check for 'tbody'

Stephen Finucane stephen.finucane at intel.com
Fri Feb 19 04:34:58 AEDT 2016


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 at intel.com>
---
 patchwork/tests/test_list.py | 1 -
 1 file changed, 1 deletion(-)

diff --git a/patchwork/tests/test_list.py b/patchwork/tests/test_list.py
index 0cc33fc..1139a34 100644
--- a/patchwork/tests/test_list.py
+++ b/patchwork/tests/test_list.py
@@ -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):
-- 
2.0.0



More information about the Patchwork mailing list