diff --git a/tests/data/t.7z b/tests/data/t .7z similarity index 100% rename from tests/data/t.7z rename to tests/data/t .7z diff --git a/tests/test_archives.py b/tests/test_archives.py index 283e6b6..26b6a85 100644 --- a/tests/test_archives.py +++ b/tests/test_archives.py @@ -152,7 +152,7 @@ class TestArchives (ArchiveTest): @needs_program('7z') def test_p7zip (self): self.program = '7z' - self.archive_commands('t.7z') + self.archive_commands('t .7z') self.archive_list('t.gz') self.archive_list('t .bz2') self.archive_list('t.zip') diff --git a/tests/test_mime.py b/tests/test_mime.py index 170e8b8..07a049c 100644 --- a/tests/test_mime.py +++ b/tests/test_mime.py @@ -45,7 +45,7 @@ class TestMime (unittest.TestCase): @needs_program('file') def test_mime_file (self): - self.mime_test_file("t.7z", "application/x-7z-compressed", None) + self.mime_test_file("t .7z", "application/x-7z-compressed", None) self.mime_test_file("t.7z.foo", "application/x-7z-compressed", None) self.mime_test_file("t.arj", "application/x-arj", None) self.mime_test_file("t.arj.foo", "application/x-arj", None) @@ -124,7 +124,7 @@ class TestMime (unittest.TestCase): self.mime_test_file("t.zoo.foo", "application/x-zoo", None) def test_mime_mimedb (self): - self.mime_test_mimedb("t.7z", "application/x-7z-compressed", None) + self.mime_test_mimedb("t .7z", "application/x-7z-compressed", None) self.mime_test_mimedb("t.arj", "application/x-arj", None) self.mime_test_mimedb("t .bz2", "application/x-bzip2", None) self.mime_test_mimedb("t.cab", "application/x-cab", None)