MCPcopy
hub / github.com/python-poetry/poetry / test_application_with_plugins

Function test_application_with_plugins

tests/console/test_application.py:56–63  ·  view source on GitHub ↗
(with_add_command_plugin: None)

Source from the content-addressed store, hash-verified

54
55
56def test_application_with_plugins(with_add_command_plugin: None) -> None:
57 app = Application()
58
59 tester = ApplicationTester(app)
60 tester.execute("")
61
62 assert re.search(r"\s+foo\s+Foo Command", tester.io.fetch_output()) is not None
63 assert tester.status_code == 0
64
65
66def test_application_with_plugins_disabled(with_add_command_plugin: None) -> None:

Callers

nothing calls this directly

Calls 3

ApplicationClass · 0.90
executeMethod · 0.45
searchMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…