From eaa68f4f7700c88b9c46c3db3abb0b2464fd46e5 Mon Sep 17 00:00:00 2001 From: Casey Bodley Date: Wed, 10 Jul 2019 11:22:32 -0400 Subject: [PATCH] fix syntax error in test_bucket_get_location Signed-off-by: Casey Bodley --- s3tests_boto3/functional/test_s3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/s3tests_boto3/functional/test_s3.py b/s3tests_boto3/functional/test_s3.py index 54347dc..7b15154 100644 --- a/s3tests_boto3/functional/test_s3.py +++ b/s3tests_boto3/functional/test_s3.py @@ -4192,7 +4192,7 @@ def test_bucket_create_exists(): @attr(operation='get location') def test_bucket_get_location(): location_constraint = get_main_api_name() - if not location_constraint + if not location_constraint: raise SkipTest bucket_name = get_new_bucket_name() client = get_client()