aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/archive_tests.py6
1 files changed, 6 insertions, 0 deletions
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()