mirror of
https://github.com/django/django.git
synced 2024-12-23 01:25:58 +00:00
Fixed staticfiles test on Windows; refs #23986.
This commit is contained in:
parent
ccff08c194
commit
389baccac5
@ -302,7 +302,7 @@ class TestCollectionClear(CollectionTestCase):
|
|||||||
self.assertFileNotFound('cleared.txt')
|
self.assertFileNotFound('cleared.txt')
|
||||||
|
|
||||||
def test_dir_not_exists(self, **kwargs):
|
def test_dir_not_exists(self, **kwargs):
|
||||||
shutil.rmtree(settings.STATIC_ROOT)
|
shutil.rmtree(six.text_type(settings.STATIC_ROOT))
|
||||||
super(TestCollectionClear, self).run_collectstatic(clear=True)
|
super(TestCollectionClear, self).run_collectstatic(clear=True)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user