Skip to content

Commit

Permalink
Change path type to string in fs_utils remove command
Browse files Browse the repository at this point in the history
Signed-off-by: Katarzyna Treder <katarzyna.treder@h-partners.com>
  • Loading branch information
Katarzyna Treder authored and katlapinka committed Sep 13, 2024
1 parent 252866d commit a1ff17b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/functional/api/cas/cas_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ def set_cas_service_timeout(timeout: timedelta = timedelta(minutes=30)):


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()
2 changes: 1 addition & 1 deletion test/functional/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def base_prepare(item):
except Exception:
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
if Drbd.is_installed():
Expand Down

0 comments on commit a1ff17b

Please sign in to comment.