MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_invoke_with_path

Method test_invoke_with_path

testing/acceptance_test.py:575–578  ·  view source on GitHub ↗
(self, pytester: Pytester, capsys)

Source from the content-addressed store, hash-verified

573 pytest.main("-h") # type: ignore[arg-type]
574
575 def test_invoke_with_path(self, pytester: Pytester, capsys) -> None:
576 retcode = pytest.main([str(pytester.path)])
577 assert retcode == ExitCode.NO_TESTS_COLLECTED
578 out, err = capsys.readouterr()
579
580 def test_invoke_plugin_api(self, capsys) -> None:
581 class MyPlugin:

Callers

nothing calls this directly

Calls 1

readouterrMethod · 0.45

Tested by

no test coverage detected