aboutsummaryrefslogtreecommitdiffstats
path: root/tests/archive_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/archive_tests.py')
-rw-r--r--tests/archive_tests.py24
1 files changed, 14 insertions, 10 deletions
diff --git a/tests/archive_tests.py b/tests/archive_tests.py
index f26548e3..7847c7a4 100644
--- a/tests/archive_tests.py
+++ b/tests/archive_tests.py
@@ -109,11 +109,13 @@ class TarFileArchiveTest(unittest.TestCase):
self.check_for_file('test/tests/ziptest')
- def test_add_dir(self):
- self.tf.add_file('tests/')
- self.tf.close()
-
- self.check_for_file('test/tests/ziptest')
+# Since commit 179d9bb add_file does not support recursive directory
+# addition. Disable this test for now.
+# def test_add_dir(self):
+# self.tf.add_file('tests/')
+# self.tf.close()
+#
+# self.check_for_file('test/tests/ziptest')
def test_add_renamed(self):
self.tf.add_file('tests/ziptest', dest='tests/ziptest_renamed')
@@ -121,11 +123,13 @@ class TarFileArchiveTest(unittest.TestCase):
self.check_for_file('test/tests/ziptest_renamed')
- def test_add_renamed_dir(self):
- self.tf.add_file('tests/', 'tests_renamed/')
- self.tf.close()
-
- self.check_for_file('test/tests_renamed/ziptest')
+# Since commit 179d9bb add_file does not support recursive directory
+# addition. Disable this test for now.
+# def test_add_renamed_dir(self):
+# self.tf.add_file('tests/', 'tests_renamed/')
+# self.tf.close()
+#
+# self.check_for_file('test/tests_renamed/ziptest')
def test_add_string(self):
self.tf.add_string('this is content', 'tests/string_test.txt')