filename handling for archive files.

This commit is contained in:
jonaswinkler committed 2020-11-30 21:38:42 +01:00
1 parent aaa6599283
commit 8a5c782425
7 files changed
+111 -35

No files matched your search

+1 -1
View File
@@ -321,7 +321,7 @@ class TestDate(TestCase):
Path(os.path.join(tmp, "notempty", "file")).touch()
os.makedirs(os.path.join(tmp, "notempty", "empty"))
delete_empty_directories(os.path.join(tmp, "notempty", "empty"))
delete_empty_directories(os.path.join(tmp, "notempty", "empty"), root=settings.ORIGINALS_DIR)
self.assertEqual(os.path.isdir(os.path.join(tmp, "notempty")), True)
self.assertEqual(os.path.isfile(
os.path.join(tmp, "notempty", "file")), True)