[PATCH 07/25] tests: Clean up 'test_detail'

Stephen Finucane stephen.finucane at intel.com
Fri Jun 24 07:53:28 AEST 2016


* Use underscore_case, rather than camelCase

Signed-off-by: Stephen Finucane <stephen.finucane at intel.com>
---
 patchwork/tests/test_detail.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/patchwork/tests/test_detail.py b/patchwork/tests/test_detail.py
index bf6df96..e7412ee 100644
--- a/patchwork/tests/test_detail.py
+++ b/patchwork/tests/test_detail.py
@@ -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
 
-- 
1.7.4.1



More information about the Patchwork mailing list