def test_remove_file(self):
d = self.root.ensure('todeleted')
assert d.check()
-> d.remove()
assert not d.check()