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