MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / gold

Method gold

tests/test_profile_map_v2.py:152–159  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

150 self.assertEqual(len(result.tests_sha256), 32)
151
152 def gold(self):
153 result = M.build_profile_map_v2(**gold_fixture())
154 self.assert_result(result, GOLD_PROFILES, GOLD_TESTS)
155 self.assertEqual(result.profiles_sha256, GOLD_PROFILES_SHA)
156 self.assertEqual(result.tests_sha256, GOLD_TESTS_SHA)
157 self.assertEqual(result.profiles_tsv, (FIXTURE_DIR / "profiles.tsv").read_bytes())
158 self.assertEqual(result.tests_tsv, (FIXTURE_DIR / "tests.tsv").read_bytes())
159 return result
160
161 def assert_row(self, fixture, key, state, reason, ids=b""):
162 result = M.build_profile_map_v2(**fixture)

Calls 2

assert_resultMethod · 0.95
gold_fixtureFunction · 0.85

Tested by

no test coverage detected