def test_tags_persist(self) -> None:
        """Test that ObservableTags persist in the database."""
        self.obs1.tag(["test"])
        self.obs1.save()
        obs = observable.find(value="test1.com")
        assert obs is not None
        self.assertEqual(len(obs.tags), 1)

        self.assertEqual(obs.tags[0].name, "test")
        self.assertEqual(obs.tags[0].fresh, True)
Test that ObservableTags persist in the database.
tests/schemas/tag.py