Fix the test isolation from [15552].
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15553 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ada08cd6d8
commit
9ebc9108de
|
@ -95,7 +95,7 @@ class StaticHelperTest(StaticTests):
|
|||
def setUp(self):
|
||||
super(StaticHelperTest, self).setUp()
|
||||
self.prefix = 'media'
|
||||
self._old_views_urlpatterns = urls.urlpatterns
|
||||
self._old_views_urlpatterns = urls.urlpatterns[:]
|
||||
urls.urlpatterns += static('/media/', document_root=media_dir)
|
||||
|
||||
def tearDown(self):
|
||||
|
|
Loading…
Reference in New Issue