def test_add_multiple_contexts_with_same_source(self) -> None:
        """Tests that two different contexts can be added from the same source."""
        observable_obj = hostname.Hostname(value="tomchop.me").save()
        observable_obj.add_context("test_source", {"abc": 123, "def": 456})
        observable_obj.add_context("test_source", {"abc": 123, "def": 666})
        observable_obj.add_context("test_source", {"abc": 123, "def": 456})
        observable_obj.add_context("test_source", {"abc": 123, "def": 666})
        self.assertEqual(len(observable_obj.context), 2)
        self.assertEqual(
            observable_obj.context[0], {"source": "test_source", "abc": 123, "def": 456}
        )
        self.assertEqual(
            observable_obj.context[1], {"source": "test_source", "abc": 123, "def": 666}
        )
Tests that two different contexts can be added from the same source.
tests/schemas/observable.py