def test_api_trulens(self):
        """Check that the trulens API members are still present.

        To regenerate golden file, run `make write-api`.
        """

        golden_file = f"{_GOLDEN_DIRECTORY}/api.trulens.{self.pyversion}.yaml"

        members = self.get_members_trulens()

        self.write_golden(
            golden_path=golden_file, data=members
        )  # will raise exception if golden file is written

        expected = self.load_golden(golden_file)

        jdiff = diff(expected, members, syntax=SymmetricJsonDiffSyntax())
        flat_diffs = self._flatten_api_diff(jdiff)

        if flat_diffs:
            for diff_type, diff_lens, diff_value in flat_diffs:
                with self.subTest(api=str(diff_lens)):
                    self.fail(
                        f"API mismatch: {diff_type} at {diff_lens} value {diff_value}"
                    )
Check that the trulens API members are still present.

        To regenerate golden file, run `make write-api`.
        
tests/unit/static/test_api.py