def test_entity_exists(self): editor.create_entity(self.test_entity_uri) self.assertTrue(editor.entity_exists(self.test_entity_uri)) nonexisting_uri = "/".join([editor.fedora_base, 'Test', 'Work2']) self.assertFalse(editor.entity_exists(nonexisting_uri))
def test_update_entity_property(self): editor.create_entity(self.test_entity_uri)
def test_create_entity(self): self.assertEqual( self.test_entity_uri, editor.create_entity(self.test_entity_uri))