]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
tests: Clean up 'test_detail'
authorStephen Finucane <stephen.finucane@intel.com>
Mon, 20 Jun 2016 13:48:50 +0000 (14:48 +0100)
committerStephen Finucane <stephen.finucane@intel.com>
Thu, 30 Jun 2016 15:04:44 +0000 (16:04 +0100)
* Use underscore_case, rather than camelCase

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
Reviewed-by: Andy Doan <andy.doan@linaro.org>
patchwork/tests/test_detail.py

index bf6df96a49bb8b02aa801a8ced2850b7442f3c83..e7412eed4e9c97982963e7f16aa4b1b49e20e3e7 100644 (file)
@@ -29,7 +29,7 @@ from patchwork.tests.utils import create_patches
 class CoverLetterViewTest(TestCase):
     fixtures = ['default_states']
 
-    def testRedirect(self):
+    def test_redirect(self):
         patches = create_patches()
         patch_id = patches[0].id
 
@@ -43,7 +43,7 @@ class CoverLetterViewTest(TestCase):
 class PatchViewTest(TestCase):
     fixtures = ['default_states']
 
-    def testRedirect(self):
+    def test_redirect(self):
         covers = create_covers()
         cover_id = covers[0].id