def test_move_file(self): # overrides base class
p = self.root.ensure('origfile')
newp = p.dirpath('newfile')
p.move(newp)
assert newp.check(file=1)
newp.remove()
-> assert not p.check()