Renamed test file to be able to clone under Windows.

This commit is contained in:
Bastian Kleineidam 2010-04-05 02:27:42 +02:00
parent 26ab2a3acb
commit 5223f93944
3 changed files with 5 additions and 5 deletions

View File

@ -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):

View File

@ -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)