@@ -104,7 +104,7 @@ def create(name, disks, pooltype):
104
104
def find_pool (get_mayastor_instance ):
105
105
def find (name ):
106
106
for pool in get_mayastor_instance .pool_rpc .ListPools (
107
- pb .ListPoolOptions ()
107
+ pb .ListPoolOptions ()
108
108
).pools :
109
109
if pool .name == name :
110
110
return pool
@@ -120,14 +120,14 @@ def get_lvm_feature(get_mayastor_instance, get_mayastor_info):
120
120
121
121
@then ("the instance shall report if it supports the LVM feature" )
122
122
def the_instance_shall_report_if_it_supports_the_lvm_feature (
123
- get_mayastor_instance , get_mayastor_info , get_lvm_feature
123
+ get_mayastor_instance , get_mayastor_info , get_lvm_feature
124
124
):
125
125
assert get_lvm_feature
126
126
127
127
128
128
@when ("the user creates a pool specifying a URI representing an loop disk" )
129
129
def the_user_creates_a_pool_specifying_a_uri_representing_an_loop_disk (
130
- get_mayastor_instance , volgrp_with_losetup_disk , create_pool
130
+ get_mayastor_instance , volgrp_with_losetup_disk , create_pool
131
131
):
132
132
create_pool (f"{ volgrp_with_losetup_disk } " , [], pb .Lvm )
133
133
@@ -139,7 +139,9 @@ def the_lvm_pool_should_be_created(find_pool):
139
139
140
140
@when ("the user destroys a pool specifying type as lvm" )
141
141
def the_user_destroys_a_pool_specifying_type_as_lvm (get_mayastor_instance ):
142
- get_mayastor_instance .pool_rpc .DestroyPool (pb .DestroyPoolRequest (name = "lvmpool" , pooltype = pb .Lvm ))
142
+ get_mayastor_instance .pool_rpc .DestroyPool (
143
+ pb .DestroyPoolRequest (name = "lvmpool" , pooltype = pb .Lvm )
144
+ )
143
145
144
146
145
147
@then ("the lvm pool should be removed" )
0 commit comments