(monkeypatch, console)
| 24 | |
| 25 | |
| 26 | def test_get_hex_editor(monkeypatch, console): |
| 27 | test_editor = "hexedit" |
| 28 | monkeypatch.setattr("shutil.which", lambda x: x == test_editor) |
| 29 | editor = console.get_hex_editor() |
| 30 | assert editor == test_editor |
nothing calls this directly
no test coverage detected
searching dependent graphs…