def test_create_delete(self, tag_id="create_tag"):
        # Create a tag
        self.assertTrue(self.client.tag.create(tag_id))
        # Check that the tag doesn't exist (It has no photos, so it's invisible)
        self.assertNotIn(tag_id, [t.id for t in self.client.tags.list()])

        # Create a tag on one of the photos
        self.photos[0].update(tagsAdd=tag_id)
        # Check that the tag now exists
        self.assertIn(tag_id, [t.id for t in self.client.tags.list()])

        # Delete the tag
        self.assertTrue(self.client.tag.delete(tag_id))
        # Check that the tag is now gone
        self.assertNotIn(tag_id, [t.id for t in self.client.tags.list()])
        # Also remove the tag from the photo
        self.photos[0].update(tagsRemove=tag_id)

        # Create the tag again
        self.photos[0].update(tagsAdd=tag_id)
        self.assertIn(tag_id, [t.id for t in self.client.tags.list()])

        # Delete using the tag object directly
        tag = [t for t in self.client.tags.list() if t.id == tag_id][0]
        self.assertTrue(tag.delete())

        # Check that the tag is now gone
        self.assertNotIn(tag_id, [t.id for t in self.client.tags.list()])
        # Also remove the tag from the photo
        self.photos[0].update(tagsRemove=tag_id)

    # TODO: Un-skip and update this tests once there are tag fields
    #       that can be updated (the owner field cannot be updated).
Destroy the unittest database
dataset/ETHPy150Open photo/openphoto-python/tests/functional/test_tags.py/TestTags.test_create_delete--crossover with--dataset/ETHPy150Open neurodata/ndstore/test/test_propagate.py/Test_Image_Propagated_Propagate.teardown_class