def test_add_dupe_context(self) -> None:
        """Tests that identical contexts aren't added twice."""
        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": 456})
        self.assertEqual(len(observable_obj.context), 1)
Tests that identical contexts aren't added twice.
tests/schemas/observable.py