Change path type to string in fs_utils remove command
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
This commit is contained in:
parent
252866d840
commit
a1ff17bbd3
@ -44,5 +44,5 @@ def set_cas_service_timeout(timeout: timedelta = timedelta(minutes=30)):
|
|||||||
|
|
||||||
|
|
||||||
def clear_cas_service_timeout():
|
def clear_cas_service_timeout():
|
||||||
remove(opencas_drop_in_directory, force=True, recursive=True, ignore_errors=True)
|
remove(str(opencas_drop_in_directory), force=True, recursive=True, ignore_errors=True)
|
||||||
reload_daemon()
|
reload_daemon()
|
||||||
|
@ -243,7 +243,7 @@ def base_prepare(item):
|
|||||||
except Exception:
|
except Exception:
|
||||||
pass # TODO: Reboot DUT if test is executed remotely
|
pass # TODO: Reboot DUT if test is executed remotely
|
||||||
|
|
||||||
remove(opencas_drop_in_directory, recursive=True, ignore_errors=True)
|
remove(str(opencas_drop_in_directory), recursive=True, ignore_errors=True)
|
||||||
|
|
||||||
from storage_devices.drbd import Drbd
|
from storage_devices.drbd import Drbd
|
||||||
if Drbd.is_installed():
|
if Drbd.is_installed():
|
||||||
|
Loading…
Reference in New Issue
Block a user