Merge pull request #290 from cbodley/wip-location2

fix syntax error in test_bucket_get_location
This commit is contained in:
Ali Maredia 2019-07-10 11:42:32 -04:00 committed by GitHub
commit 66de5b19db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4192,7 +4192,7 @@ def test_bucket_create_exists():
@attr(operation='get location') @attr(operation='get location')
def test_bucket_get_location(): def test_bucket_get_location():
location_constraint = get_main_api_name() location_constraint = get_main_api_name()
if not location_constraint if not location_constraint:
raise SkipTest raise SkipTest
bucket_name = get_new_bucket_name() bucket_name = get_new_bucket_name()
client = get_client() client = get_client()