Example #1
0
 def test_is_soft_deleted_is_deleted(self):
     uuid = uuidutils.generate_uuid()
     self.assertEqual(uuid, db_policy_rules.is_soft_deleted(uuid, True))
Example #2
0
 def test_is_soft_deleted_is_deleted(self):
     uuid = uuidutils.generate_uuid()
     self.assertEqual(uuid, db_policy_rules.is_soft_deleted(uuid, True))
Example #3
0
 def test_is_soft_deleted_not_deleted(self):
     uuid = uuidutils.generate_uuid()
     self.assertEqual('', db_policy_rules.is_soft_deleted(uuid, False))
Example #4
0
 def test_is_soft_deleted_not_deleted(self):
     uuid = uuidutils.generate_uuid()
     self.assertEqual('', db_policy_rules.is_soft_deleted(uuid, False))