def test_updates_ranges_schema(runner, role_name):
    result = runner.invoke(main, ['--schema', '--role', role_name])
    assert ('Cannot find SQL resource' not in result.output)
    assert (result.exit_code == 0)
def test_updates_ranges_schema(runner, role_name):
    result = runner.invoke(main, ['--schema', '--role', role_name])
    assert ('Cannot find SQL resource' not in result.output)
    assert (result.exit_code == 0)