def test_move_file(self):
p = self.root.join('samplefile')
newp = p.dirpath('moved_samplefile')
-> p.move(newp)
assert newp.check(file=1)
assert not p.check()