| 650 | |
| 651 | def test_invoke_plugin_api(self, capsys) -> None: |
| 652 | class MyPlugin: |
| 653 | def pytest_addoption(self, parser): |
| 654 | parser.addoption("--myopt") |
| 655 | |
| 656 | pytest.main(["-h"], plugins=[MyPlugin()]) |
| 657 | out, _err = capsys.readouterr() |
no outgoing calls