Exemplo n.º 1
0
 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))
Exemplo n.º 2
0
 def test_update_entity_property(self):
     editor.create_entity(self.test_entity_uri)
Exemplo n.º 3
0
 def test_create_entity(self):
     self.assertEqual(
         self.test_entity_uri,
         editor.create_entity(self.test_entity_uri))