165
165
def test_copydir_nosub(self):
166
166
def builder(fileobj, mode='w'):
167
167
return DirFileWriter(fileobj, mode)
168
170
self.archive_test(builder, import_dir)
175
172
def archive_test(self, builder, importer, subdir=False):
176
173
archive_file = self.make_archive(builder, subdir)
177
174
tree = BzrDir.create_standalone_workingtree('tree')