MCPcopy Index your code
hub / github.com/Codeplain-ai/codeplain / test_single_edit

Function test_single_edit

tests/test_change_detection.py:100–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

98
99
100def test_single_edit():
101 module = FakeModule("mod", ["A modified", "B"], stored_frs=["A", "B"])
102 changes = _detect_module_changes(module)
103 assert len(changes) == 1
104 assert changes[0] == FunctionalityChange(module="mod", frid="1", change_type="edited")
105
106
107def test_multiple_edits():

Callers

nothing calls this directly

Calls 3

_detect_module_changesFunction · 0.90
FunctionalityChangeClass · 0.90
FakeModuleClass · 0.70

Tested by

no test coverage detected