()
| 99 | |
| 100 | @pytest.fixture |
| 101 | def mock_commands(): |
| 102 | with contextlib.ExitStack() as ctx: |
| 103 | mcks = {f: ctx.enter_context(mock.patch.object(main, f)) for f in FNS} |
| 104 | yield auto_namedtuple(**mcks) |
| 105 | |
| 106 | |
| 107 | @pytest.fixture |
nothing calls this directly
no test coverage detected