95
96
self.assertEqual(['test/' + fname.encode('utf8')],
96
97
sorted(zfile.namelist()))
101
self.build_tree(['zip/a', 'zip/b/', 'zip/b/c', 'zip/d/'])
102
tree.add(['a', 'b', 'b/c', 'd'])
110
self.assertEqual(['a', 'b\\', 'b\\c', 'd\\'], names)
112
self.assertEqual(['a', 'b/', 'b/c', 'd/'], names)
98
114
def test_dir_export(self):
99
115
tree = self.make_branch_and_tree('dir')
100
116
self.build_tree(['dir/a'])