(disable_commands_app: DisableCommandsApp)
| 4037 | |
| 4038 | |
| 4039 | def test_disabled_message_command_name(disable_commands_app: DisableCommandsApp) -> None: |
| 4040 | message_to_print = f"{COMMAND_NAME} is currently disabled" |
| 4041 | disable_commands_app.disable_command("has_helper_func", message_to_print) |
| 4042 | |
| 4043 | _out, err = run_cmd(disable_commands_app, "has_helper_func") |
| 4044 | assert err[0].startswith("has_helper_func is currently disabled") |
| 4045 | |
| 4046 | |
| 4047 | def test_help_argparse_command_while_disabled(disable_commands_app: DisableCommandsApp) -> None: |
nothing calls this directly
no test coverage detected
searching dependent graphs…