mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Made @override_settings(ROOT_URLCONF=...) consistent.
This commit is contained in:
parent
10a162809f
commit
7fa8aea8dd
6 changed files with 8 additions and 9 deletions
|
@ -380,7 +380,7 @@ class GenericInlineAdminWithUniqueTogetherTest(TestDataMixin, TestCase):
|
|||
self.assertContains(response, 'Are you sure you want to delete')
|
||||
|
||||
|
||||
@override_settings(ROOT_URLCONF="generic_inline_admin.urls")
|
||||
@override_settings(ROOT_URLCONF='generic_inline_admin.urls')
|
||||
class NoInlineDeletionTest(SimpleTestCase):
|
||||
|
||||
def test_no_deletion(self):
|
||||
|
@ -402,7 +402,7 @@ request = MockRequest()
|
|||
request.user = MockSuperUser()
|
||||
|
||||
|
||||
@override_settings(ROOT_URLCONF="generic_inline_admin.urls")
|
||||
@override_settings(ROOT_URLCONF='generic_inline_admin.urls')
|
||||
class GenericInlineModelAdminTest(SimpleTestCase):
|
||||
|
||||
def setUp(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue