(monkeypatch: pytest.MonkeyPatch)
| 18 | |
| 19 | |
| 20 | def patch_constructor_side_effects(monkeypatch: pytest.MonkeyPatch) -> None: |
| 21 | monkeypatch.setattr(MyCli, 'system_config_files', []) |
| 22 | monkeypatch.setattr(MyCli, 'initialize_logging', lambda self: None) |
| 23 | monkeypatch.setattr(MyCli, 'register_special_commands', lambda self: None) |
| 24 | monkeypatch.setattr(client_module, 'get_mylogin_cnf_path', lambda: None) |
| 25 | |
| 26 | |
| 27 | def test_init_reports_invalid_ssl_mode(monkeypatch: pytest.MonkeyPatch, tmp_path: Path) -> None: |
no outgoing calls
no test coverage detected