def test_is_soft_deleted_is_deleted(self): uuid = uuidutils.generate_uuid() self.assertEqual(uuid, db_policy_rules.is_soft_deleted(uuid, True))
def test_is_soft_deleted_not_deleted(self): uuid = uuidutils.generate_uuid() self.assertEqual('', db_policy_rules.is_soft_deleted(uuid, False))