From b9c208b402d840421766db9e2990f5d9496b30d4 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 5 Apr 2010 02:56:32 +0200 Subject: [PATCH] Add space into 7z test filename. --- tests/data/{t.7z => t .7z} | Bin tests/test_archives.py | 2 +- tests/test_mime.py | 4 ++-- 3 files changed, 3 insertions(+), 3 deletions(-) rename tests/data/{t.7z => t .7z} (100%) 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)