Skip to content

Commit e5fbf90

Browse files
committed
Fixing camel case test names.
1 parent 985ad99 commit e5fbf90

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/admin_custom_urls/tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,15 @@ def setUp(self):
2525
def tearDown(self):
2626
self.client.logout()
2727

28-
def testBasicAddGet(self):
28+
def test_basic_add_GET(self):
2929
"""
3030
Ensure GET on the add_view works.
3131
"""
3232
response = self.client.get('/admin/admin_custom_urls/action/!add/')
3333
self.assertIsInstance(response, TemplateResponse)
3434
self.assertEqual(response.status_code, 200)
3535

36-
def testAddWithGETArgs(self):
36+
def test_add_with_GET_args(self):
3737
"""
3838
Ensure GET on the add_view plus specifying a field value in the query
3939
string works.
@@ -42,7 +42,7 @@ def testAddWithGETArgs(self):
4242
self.assertEqual(response.status_code, 200)
4343
self.assertContains(response, 'value="My Action"')
4444

45-
def testBasicAddPost(self):
45+
def test_basic_add_POST(self):
4646
"""
4747
Ensure POST on add_view works.
4848
"""
@@ -56,7 +56,7 @@ def testBasicAddPost(self):
5656
self.assertContains(response, 'dismissAddAnotherPopup')
5757
self.assertContains(response, 'Action added through a popup')
5858

59-
def testAdminUrlsNoClash(self):
59+
def test_admin_URLs_no_clash(self):
6060
"""
6161
Test that some admin URLs work correctly.
6262
"""

0 commit comments

Comments
 (0)