def test_local_run(mock_run):
    command = WrapperCommand([
        '--', 'echo 1',
    ])
    command.run()

    mock_run.assert_called_once_with(
        release='precise',
        post_launch=None,
        snapshot=None,
        save_snapshot=False,
        s3_bucket=None,
        pre_launch=None,
        validate=True,
        user='ubuntu',
        cmd=['echo 1'],
        script=None,
        flush_cache=False,
        clean=False,
        keep=False,
    )