Esempio n. 1
0
 def test_entity_key_common_string(self):
     """
     Entities with the same string from different resources must not get the
     same key from entity_key.
     """
     assert_not_equal(
         entity_key(self.main_vcs_resource.entities['Common String']),
         entity_key(self.other_vcs_resource.entities['Common String']))
Esempio n. 2
0
 def test_entity_key_common_string(self):
     """
     Entities with the same string from different resources must not get the
     same key from entity_key.
     """
     assert_not_equal(
         entity_key(self.main_vcs_resource.entities['Common String']),
         entity_key(self.other_vcs_resource.entities['Common String'])
     )