()
| 154 | |
| 155 | |
| 156 | def test_edit_and_addition(): |
| 157 | module = FakeModule("mod", ["X", "B", "C"], stored_frs=["A", "B"]) |
| 158 | changes = _detect_module_changes(module) |
| 159 | edits = [c for c in changes if c.change_type == "edited"] |
| 160 | added = [c for c in changes if c.change_type == "added"] |
| 161 | assert len(edits) == 1 |
| 162 | assert edits[0].frid == "1" |
| 163 | assert len(added) == 1 |
| 164 | assert added[0].frid == "3" |
| 165 | |
| 166 | |
| 167 | def test_edit_and_removal(): |
nothing calls this directly
no test coverage detected