diff options
Diffstat (limited to 'tests/functional/heketi/test_heketi_create_volume.py')
-rw-r--r-- | tests/functional/heketi/test_heketi_create_volume.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/functional/heketi/test_heketi_create_volume.py b/tests/functional/heketi/test_heketi_create_volume.py index 115810b8..0d6f24e0 100644 --- a/tests/functional/heketi/test_heketi_create_volume.py +++ b/tests/functional/heketi/test_heketi_create_volume.py @@ -166,9 +166,8 @@ class TestHeketiVolume(BaseClass): self.topology_volumes_with_bricks()) for vol_name in volume_names[:2]: self.assertNotIn(vol_name, topology_volumes.keys(), ( - "volume %s shown in the heketi topology after " - "deletion\nTopology info:\n%s" % ( - vol_name, indented_topology))) + "volume %s shown in the heketi topology after deletion" + "\nTopology info:\n%s" % (vol_name, indented_topology))) # Check the existence of third volume self.assertIn(volume_names[2], topology_volumes.keys(), ("volume %s " @@ -246,8 +245,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 for device in node_info['devices']: if device['state'].lower() != 'online': |