class MoveTest(TestCase): def setUp(self): self.path = "move_test.pskv" self.kv = PySimpleKVFile(self.path) def tearDown(self): os.unlink(self.path) def test_move(self): self.path = "new_location.pskv" self.kv.move(self.path) # move_test should no longer exist def test_file_exists(self): # should fail pass
def setUp(self): self.path = "move_test.pskv" self.kv = PySimpleKVFile(self.path)