Skip to content

Commit

Permalink
Move test urls to tests.urls
Browse files Browse the repository at this point in the history
  • Loading branch information
jleclanche committed Oct 13, 2018
1 parent e9f2bb8 commit a039c6b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def run_test_suite(args):
},
},
],
ROOT_URLCONF="tests.test_urls",
ROOT_URLCONF="tests.urls",
INSTALLED_APPS=[
"django.contrib.admin",
"django.contrib.auth",
Expand Down
2 changes: 1 addition & 1 deletion tests/test_decorators.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
class TestSubscriptionPaymentRequired(TestCase):

def setUp(self):
self.settings(ROOT_URLCONF='tests.test_urls')
self.settings(ROOT_URLCONF="tests.urls")
self.factory = RequestFactory()

@subscription_payment_required
Expand Down
4 changes: 2 additions & 2 deletions tests/test_middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@


class MiddlewareURLTest(TestCase):
urlconf = 'tests.test_urls'
urlconf = "tests.urls"

def setUp(self):
self.settings(ROOT_URLCONF=self.urlconf)
Expand Down Expand Up @@ -88,7 +88,7 @@ def test_middleware_loads(self):


class MiddlewareLogicTest(TestCase):
urlconf = 'tests.test_urls'
urlconf = "tests.urls"

def setUp(self):
self.settings(ROOT_URLCONF=self.urlconf)
Expand Down
File renamed without changes.

0 comments on commit a039c6b

Please sign in to comment.