def test_dummy(self):
        """Check that recording of example custom app using dummy endpoint works
        and produces a consistent record."""

        # Create custom app:
        ca = DummyApp(
            delay=0.0, alloc=0, use_parallel=False
        )  # uses DummyAPI internally

        # Create trulens wrapper:
        ta = app.TruApp(ca, app_name="customapp", app_version="base")

        with ta as recorder:
            ca.respond_to_query("hello")

        rec = recorder.get()

        self.assertGoldenJSONEqual(
            actual=rec.model_dump(),
            golden_path=Path("tests") / "e2e" / "golden" / "dummy.json",
            skips=set([
                "app_id",
                "record_id",
                "start_time",
                "end_time",
                "ts",
                "pid",
                "tid",
                "call_id",
                "id",
            ]),
            unordereds=set(["calls"]),
        )

        # Test for memory leaks.
        # Disabling for now as it is failing. Fix is in another PR.
        # ca_ref = weakref.ref(ca)
        # del ca, ta, recorder, rec
        # self.assertCollected(ca_ref)
Check that recording of example custom app using dummy endpoint works
        and produces a consistent record.
tests/e2e/test_dummy.py