def METHOD_NAME(tmp_path):
    output = tmp_path / 'ping'
    rc = main(['run', '-m', 'ping',
               '--hosts', 'localhost',
               '--debug',
               str(output)])
    assert output.exists()
    assert output.joinpath('artifacts').exists()
    assert rc == 0