def testCheckLogCreation(self): x = Checkpoint(TestCheckpoint.TEST_DIR) x.createCheckpointLog(TestCheckpoint.TEST_KEY) self.assertTrue(TestCheckpoint.TEST_KEY in x.getCheckpointLogKeys()) x.releaseCheckpointLog(TestCheckpoint.TEST_KEY) self.assertFalse(TestCheckpoint.TEST_KEY in x.getCheckpointLogKeys())