()
| 66 | |
| 67 | |
| 68 | def 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 | |
| 77 | def test_empty_stored_all_added(): |
nothing calls this directly
no test coverage detected