From 4b351b751e2f847b12ebbe7922a39cdc0959ea2e Mon Sep 17 00:00:00 2001 From: Jesse Jaggars Date: Thu, 5 Apr 2012 15:34:58 -0500 Subject: adding more gathering for as7 and fixing an error where trying to add a unicode filename to a zipfile would fail --- tests/archive_tests.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/archive_tests.py') diff --git a/tests/archive_tests.py b/tests/archive_tests.py index 8a542f73..7f4d95e1 100644 --- a/tests/archive_tests.py +++ b/tests/archive_tests.py @@ -29,6 +29,12 @@ class ZipFileArchiveTest(unittest.TestCase): self.check_for_file('test/tests/ziptest') + def test_add_unicode_file(self): + self.zf.add_file(u'tests/') + self.zf.close() + + self.check_for_file('test/tests/ziptest') + def test_add_dir(self): self.zf.add_file('tests/') self.zf.close() -- cgit