(base_app)
| 3130 | |
| 3131 | |
| 3132 | def test_nonexistent_macro(base_app) -> None: |
| 3133 | from cmd2.parsing import ( |
| 3134 | StatementParser, |
| 3135 | ) |
| 3136 | |
| 3137 | exception = None |
| 3138 | |
| 3139 | try: |
| 3140 | base_app._resolve_macro(StatementParser().parse("fake")) |
| 3141 | except KeyError as e: |
| 3142 | exception = e |
| 3143 | |
| 3144 | assert exception is not None |
| 3145 | |
| 3146 | |
| 3147 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected
searching dependent graphs…