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