diff --git a/autotests/util/iwd.py b/autotests/util/iwd.py index 67bb6e41..e812a4e4 100755 --- a/autotests/util/iwd.py +++ b/autotests/util/iwd.py @@ -921,12 +921,12 @@ class IWD(AsyncOpAbstract): fo.close() @staticmethod - def copy_to_storage(source): + def copy_to_storage(source, storage_dir=IWD_STORAGE_DIR): import shutil assert not os.path.isabs(source) - shutil.copy(source, IWD_STORAGE_DIR) + shutil.copy(source, storage_dir) @staticmethod def copy_to_hotspot(source):