(celery_cmd, custom_cmd, isolated_cli_runner: CliRunner)
| 29 | ], |
| 30 | ) |
| 31 | def test_custom_remote_command(celery_cmd, custom_cmd, isolated_cli_runner: CliRunner): |
| 32 | res = isolated_cli_runner.invoke( |
| 33 | celery, |
| 34 | [*_GLOBAL_OPTIONS, celery_cmd, *_INSPECT_OPTIONS, *custom_cmd], |
| 35 | catch_exceptions=False, |
| 36 | ) |
| 37 | assert res.exit_code == EX_UNAVAILABLE, (res, res.output) |
| 38 | assert res.output.strip() == 'Error: No nodes replied within time constraint' |
| 39 | |
| 40 | |
| 41 | @pytest.mark.parametrize( |
nothing calls this directly
no outgoing calls
no test coverage detected