def tests_delete_context_skip_compare(self) -> None:
        """Tests that a context is deleted if the difference is not being
        compared."""
        observable_obj = hostname.Hostname(value="tomchop.me").save()
        observable_obj = observable_obj.add_context(
            "test_source", {"abc": 123, "def": 456}
        )
        observable_obj = observable_obj.delete_context(
            "test_source", {"abc": 000, "def": 456}, skip_compare={"abc"}
        )
        observable_obj = Observable.get(observable_obj.id)  # type: ignore
        self.assertEqual(len(observable_obj.context), 0)
Tests that a context is deleted if the difference is not being
        compared.
tests/schemas/observable.py