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:
Alex Gaynor 2011-02-16 15:44:13 +00:00
parent ada08cd6d8
commit 9ebc9108de
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ class StaticHelperTest(StaticTests):
def setUp(self): def setUp(self):
super(StaticHelperTest, self).setUp() super(StaticHelperTest, self).setUp()
self.prefix = 'media' self.prefix = 'media'
self._old_views_urlpatterns = urls.urlpatterns self._old_views_urlpatterns = urls.urlpatterns[:]
urls.urlpatterns += static('/media/', document_root=media_dir) urls.urlpatterns += static('/media/', document_root=media_dir)
def tearDown(self): def tearDown(self):