From 5223f939443fb9ba10b3273a9c537b9796ec7023 Mon Sep 17 00:00:00 2001 From: Bastian Kleineidam Date: Mon, 5 Apr 2010 02:27:42 +0200 Subject: [PATCH] Renamed test file to be able to clone under Windows. --- "tests/data/t '\".xz" => tests/data/t .xz | Bin tests/test_archives.py | 6 +++--- tests/test_mime.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename "tests/data/t '\".xz" => tests/data/t .xz (100%) diff --git "a/tests/data/t '\".xz" b/tests/data/t .xz similarity index 100% rename from "tests/data/t '\".xz" rename to tests/data/t .xz diff --git a/tests/test_archives.py b/tests/test_archives.py index 11eb080..283e6b6 100644 --- a/tests/test_archives.py +++ b/tests/test_archives.py @@ -285,9 +285,9 @@ class TestArchives (ArchiveTest): @needs_program('xz') def test_xz (self): self.program = 'xz' - self.archive_test('t \'".xz') - self.archive_extract('t \'".xz') - self.archive_create('t \'".xz', singlefile=True) + self.archive_test('t .xz') + self.archive_extract('t .xz') + self.archive_create('t .xz', singlefile=True) @needs_program('lha') def test_lha (self): diff --git a/tests/test_mime.py b/tests/test_mime.py index 00c0400..170e8b8 100644 --- a/tests/test_mime.py +++ b/tests/test_mime.py @@ -95,7 +95,7 @@ class TestMime (unittest.TestCase): self.mime_test_file("t.tgz.foo", "application/x-tar", "gzip") self.mime_test_file("t.txt.gz", "application/x-gzip", None) self.mime_test_file("t.txt.gz.foo", "application/x-gzip", None) - self.mime_test_file("t '\".xz", "application/x-xz", None) + self.mime_test_file("t .xz", "application/x-xz", None) self.mime_test_file("t.xz.foo", "application/x-xz", None) self.mime_test_file("t.Z", "application/x-compress", None) self.mime_test_file("t.Z.foo", "application/x-compress", None) @@ -148,7 +148,7 @@ class TestMime (unittest.TestCase): self.mime_test_mimedb("t.tbz2", "application/x-tar", "bzip2") self.mime_test_mimedb("t.tgz", "application/x-tar", "gzip") self.mime_test_mimedb("t.txt.gz", "application/x-gzip", None) - self.mime_test_mimedb("t '\".xz", "application/x-xz", None) + self.mime_test_mimedb("t .xz", "application/x-xz", None) self.mime_test_mimedb("t.Z", "application/x-compress", None) self.mime_test_mimedb("t.zip", "application/zip", None) self.mime_test_mimedb("t.ace", "application/x-ace", None)