diff --git a/tests/regressiontests/admin_custom_urls/tests.py b/tests/regressiontests/admin_custom_urls/tests.py
index 87c72e2..6b64a1d 100644
a
|
b
|
class AdminCustomUrlsTest(TestCase):
|
58 | 58 | self.assertContains(response, 'dismissAddAnotherPopup') |
59 | 59 | self.assertContains(response, 'Action added through a popup') |
60 | 60 | |
| 61 | def testDoubleLogin(self): |
| 62 | url = '/custom_urls/admin/admin_custom_urls/action/!add/' |
| 63 | post_data = { |
| 64 | 'username': 'super', |
| 65 | 'password': 'secret', |
| 66 | 'this_is_the_login_form': '1', |
| 67 | 'next': url |
| 68 | } |
| 69 | response = self.client.post(url, post_data) |
| 70 | self.assertEqual('http://testserver' + url, response['Location']) |
| 71 | |
61 | 72 | def testAdminUrlsNoClash(self): |
62 | 73 | """ |
63 | 74 | Test that some admin URLs work correctly. |