diff options
author | Felix Yan <felixonmars@gmail.com> | 2014-08-20 11:12:13 +0800 |
---|---|---|
committer | Felix Yan <felixonmars@gmail.com> | 2014-08-20 11:12:13 +0800 |
commit | a6746f5b8b224bb2d4262f13c77ed4305f2b1607 (patch) | |
tree | 43ecbd473e7e4eb5d7be630f0757e786c72ef731 /tests | |
parent | c8c625ad09246e1a835f4a05174e8ed1495cbb00 (diff) | |
download | boto-a6746f5b8b224bb2d4262f13c77ed4305f2b1607.tar.gz |
elasticache module: tidy up to meet PEP8 better
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/elasticache/test_layer1.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/integration/elasticache/test_layer1.py b/tests/integration/elasticache/test_layer1.py index f6552c4d..42e3008b 100644 --- a/tests/integration/elasticache/test_layer1.py +++ b/tests/integration/elasticache/test_layer1.py @@ -34,9 +34,9 @@ class TestElastiCacheConnection(unittest.TestCase): timeout = time.time() + 600 while time.time() < timeout: response = self.elasticache.describe_cache_clusters(cluster_id) - status = response['DescribeCacheClustersResponse']\ - ['DescribeCacheClustersResult']\ - ['CacheClusters'][0]['CacheClusterStatus'] + status = (response['DescribeCacheClustersResponse'] + ['DescribeCacheClustersResult'] + ['CacheClusters'][0]['CacheClusterStatus']) if status == 'available': break time.sleep(5) |