174
174
def run_tar_export_disk_and_stdout(self, extension, tarfile_flags):
175
175
tree = self.make_basic_tree()
176
176
fname = 'test.%s' % (extension,)
177
178
mode = 'r|%s' % (tarfile_flags,)
179
179
ball = tarfile.open(fname, mode=mode)
180
180
self.assertTarANameAndContent(ball, root='test/')
181
181
content = self.run_bzr('export -d tree --format=%s -' % (extension,))[0]