def testSyncNotFound(self): attributes = { "number": "11", "string": "one", "even": "true" } password = Secret.password_lookup_sync(STORE_SCHEMA, attributes, None) self.assertEqual(None, password) deleted = Secret.password_remove_sync(STORE_SCHEMA, attributes, None) self.assertEqual(False, deleted)
def testSyncNotFound(self): attributes = {"number": "11", "string": "one", "even": "true"} password = Secret.password_lookup_sync(STORE_SCHEMA, attributes, None) self.assertEqual(None, password) deleted = Secret.password_remove_sync(STORE_SCHEMA, attributes, None) self.assertEqual(False, deleted)
def testSynchronous(self): attributes = { "number": "1", "string": "one", "even": "false" } password = Secret.password_lookup_sync(STORE_SCHEMA, attributes, None) self.assertEqual("111", password) deleted = Secret.password_remove_sync(STORE_SCHEMA, attributes, None) self.assertEqual(True, deleted)
def testSynchronous(self): attributes = {"number": "1", "string": "one", "even": "false"} password = Secret.password_lookup_sync(STORE_SCHEMA, attributes, None) self.assertEqual("111", password) deleted = Secret.password_remove_sync(STORE_SCHEMA, attributes, None) self.assertEqual(True, deleted)