| 579 | |
| 580 | def test_invoke_plugin_api(self, capsys) -> None: |
| 581 | class MyPlugin: |
| 582 | def pytest_addoption(self, parser): |
| 583 | parser.addoption("--myopt") |
| 584 | |
| 585 | pytest.main(["-h"], plugins=[MyPlugin()]) |
| 586 | out, err = capsys.readouterr() |
no outgoing calls