Skip to content
This repository was archived by the owner on Apr 16, 2023. It is now read-only.

Commit d754b95

Browse files
committed
Remove unnecessary test decorator
This hasn't been required since 4780236
1 parent 668d784 commit d754b95

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

tests/routes/test_handlers.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
from django.core.checks import Error
44
from django.core.urlresolvers import clear_url_caches, Resolver404
55
from django.test import TestCase
6-
from django.test.utils import isolate_apps
76

87
from conman.routes.handlers import BaseHandler, RouteViewHandler, URLConfHandler
98
from tests.models import RouteSubclass, URLConfRoute
@@ -61,7 +60,6 @@ def handle(self, request, path):
6160
self.assertEqual(TestHandler(None).handle(None, None), expected)
6261

6362

64-
@isolate_apps()
6563
class URLConfHandlerHandleTest(TestCase):
6664
"""Test URLConfHandler.handle()."""
6765
def setUp(self):
@@ -103,7 +101,6 @@ def test_handle_no_url_match(self):
103101
self.assertFalse(dummy_view.called)
104102

105103

106-
@isolate_apps()
107104
class URLConfHandlerCheckTest(TestCase):
108105
"""Tests for URLConfHandler.check()."""
109106
def test_no_urlconf(self):
@@ -131,7 +128,6 @@ def test_has_urlconf(self):
131128
self.assertEqual(errors, [])
132129

133130

134-
@isolate_apps()
135131
class RouteViewHandlerCheckTest(TestCase):
136132
"""Tests for RouteViewHandler.check()."""
137133
def test_no_view(self):

tests/routes/test_models.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
from django.db import IntegrityError, transaction
44
from django.test import TestCase
5-
from django.test.utils import isolate_apps
65
from incuna_test_utils.utils import field_names
76

87
from conman.routes import handlers
@@ -51,7 +50,6 @@ def test_unique_url(self):
5150
Route.objects.create(url='/')
5251

5352

54-
@isolate_apps()
5553
class RouteCheckTest(TestCase):
5654
"""Test Route.check()."""
5755
def test_route_subclass(self):

0 commit comments

Comments
 (0)