def test_entity_to_observable_link_count(self) -> None:
        """Tests the update of link count between an observable and an entity."""
        for i in range(10):
            self.relationship = self.entity2.link_to(
                self.observable2, "observes", "Observes network traffic"
            )
        self.assertEqual(self.relationship.count, 10)
Tests the update of link count between an observable and an entity.
tests/schemas/graph.py