65
65
# test handling when read then write gives back the initial content
66
66
tree, txt_fileid, bin_fileid = self.create_cf_tree(
67
67
txt_reader=_swapcase, txt_writer=_swapcase)
69
69
basis = tree.basis_tree()
71
71
self.addCleanup(basis.unlock)
73
77
self.assertEqual('Foo Bin', basis.get_file_text(bin_fileid))
74
78
# Check that the working tree has the original content