MCPcopy Create free account
hub / github.com/Codeplain-ai/codeplain / test_no_metadata_all_added

Function test_no_metadata_all_added

tests/test_change_detection.py:68–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66
67
68def test_no_metadata_all_added():
69 module = FakeModule("mod", ["A", "B"], stored_frs=None)
70 changes = _detect_module_changes(module)
71 assert len(changes) == 2
72 assert all(c.change_type == "added" for c in changes)
73 assert changes[0] == FunctionalityChange(module="mod", frid="1", change_type="added")
74 assert changes[1] == FunctionalityChange(module="mod", frid="2", change_type="added")
75
76
77def test_empty_stored_all_added():

Callers

nothing calls this directly

Calls 3

_detect_module_changesFunction · 0.90
FunctionalityChangeClass · 0.90
FakeModuleClass · 0.70

Tested by

no test coverage detected