def test_tag_manual_expiration_date(self) -> None:
        """Test that a tag's expiration date takes in the manualy specified value."""
        self.obs1.tag(["test"], expiration=datetime.timedelta(minutes=5))
        tags = self.obs1.get_tags()
        self.assertEqual(len(tags), 1)
        tag_instance = tags["test"]
        self.assertIsNotNone(tag_instance.expires)
        self.assertGreater(
            tag_instance.expires,
            tag_instance.last_seen + datetime.timedelta(minutes=2),
        )
        self.assertLess(
            tag_instance.expires,
            tag_instance.last_seen + datetime.timedelta(minutes=6),
        )
Test that a tag's expiration date takes in the manualy specified value.
tests/schemas/tag.py