summaryrefslogtreecommitdiff
path: root/tests/admin_custom_urls
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2014-07-07 19:08:42 -0400
committerTim Graham <timograham@gmail.com>2014-07-07 19:08:42 -0400
commit89b9e6e5d68297e7fe10baea6abcd96e24de0e09 (patch)
tree9d401d0ed234e93c53f2c75c21500d6d530596a3 /tests/admin_custom_urls
parent54546cee88f1db4e7e0ad75ebb9672c118b2236c (diff)
downloaddjango-89b9e6e5d68297e7fe10baea6abcd96e24de0e09.tar.gz
Fixed #22909 -- Removed camelCasing in some tests.
Thanks brylie.
Diffstat (limited to 'tests/admin_custom_urls')
-rw-r--r--tests/admin_custom_urls/tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/admin_custom_urls/tests.py b/tests/admin_custom_urls/tests.py
index f804036158..edabb6eb78 100644
--- a/tests/admin_custom_urls/tests.py
+++ b/tests/admin_custom_urls/tests.py
@@ -25,7 +25,7 @@ class AdminCustomUrlsTest(TestCase):
def tearDown(self):
self.client.logout()
- def testBasicAddGet(self):
+ def test_basic_add_GET(self):
"""
Ensure GET on the add_view works.
"""
@@ -33,7 +33,7 @@ class AdminCustomUrlsTest(TestCase):
self.assertIsInstance(response, TemplateResponse)
self.assertEqual(response.status_code, 200)
- def testAddWithGETArgs(self):
+ def test_add_with_GET_args(self):
"""
Ensure GET on the add_view plus specifying a field value in the query
string works.
@@ -42,7 +42,7 @@ class AdminCustomUrlsTest(TestCase):
self.assertEqual(response.status_code, 200)
self.assertContains(response, 'value="My Action"')
- def testBasicAddPost(self):
+ def test_basic_add_POST(self):
"""
Ensure POST on add_view works.
"""
@@ -56,7 +56,7 @@ class AdminCustomUrlsTest(TestCase):
self.assertContains(response, 'dismissAddAnotherPopup')
self.assertContains(response, 'Action added through a popup')
- def testAdminUrlsNoClash(self):
+ def test_admin_URLs_no_clash(self):
"""
Test that some admin URLs work correctly.
"""