(with_add_command_plugin: None)
| 54 | |
| 55 | |
| 56 | def 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 | |
| 66 | def test_application_with_plugins_disabled(with_add_command_plugin: None) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…