diff options
author | Valerii Ponomarov <vponomar@redhat.com> | 2019-08-30 18:49:42 +0530 |
---|---|---|
committer | Valerii Ponomarov <vponomar@redhat.com> | 2019-08-30 18:49:42 +0530 |
commit | 8832a8ac463ee480762276bd19dc085a1f637f3f (patch) | |
tree | e468105ebca57cc22970779d4367afb0696c4f36 /tests/functional/heketi/test_create_distributed_replica_heketi_volume.py | |
parent | d4e92d0e0b4cde1209e54d3edc1cc6796cc858ef (diff) |
Fix pep8 errors in the files of the 'tests' dir
Change-Id: I26c750c68055c6cc50de8015942d0d9725819aaf
Diffstat (limited to 'tests/functional/heketi/test_create_distributed_replica_heketi_volume.py')
-rw-r--r-- | tests/functional/heketi/test_create_distributed_replica_heketi_volume.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/functional/heketi/test_create_distributed_replica_heketi_volume.py b/tests/functional/heketi/test_create_distributed_replica_heketi_volume.py index f5c41d8d..2856d0e3 100644 --- a/tests/functional/heketi/test_create_distributed_replica_heketi_volume.py +++ b/tests/functional/heketi/test_create_distributed_replica_heketi_volume.py @@ -53,8 +53,8 @@ class TestHeketiVolume(BaseClass): for node_id in node_ids: node_info = heketi_node_info( self.heketi_client_node, heketi_url, node_id, json=True) - if (node_info['state'].lower() != 'online' or - not node_info['devices']): + if (node_info['state'].lower() != 'online' + or not node_info['devices']): continue if len(nodes) > 2: out = heketi_node_disable( @@ -80,8 +80,8 @@ class TestHeketiVolume(BaseClass): nodes[node_id].append(device['storage']['free']) # Skip test if nodes requirements are not met - if (len(nodes) < 3 or - not all(map((lambda _list: len(_list) > 1), nodes.values()))): + if (len(nodes) < 3 + or not all(map((lambda _l: len(_l) > 1), nodes.values()))): raise self.skipTest( "Could not find 3 online nodes with, " "at least, 2 online devices having free space " |