mirror of
https://github.com/mvt-project/mvt.git
synced 2026-02-12 16:42:45 +00:00
Rename from_folder to from_dir in tests
This commit is contained in:
@@ -85,7 +85,7 @@ class TestAndroidqfMountsModule:
|
||||
m = Mounts(target_path=data_path, log=logging)
|
||||
files = list_files(data_path)
|
||||
parent_path = Path(data_path).absolute().parent.as_posix()
|
||||
m.from_folder(parent_path, files)
|
||||
m.from_dir(parent_path, files)
|
||||
|
||||
run_module(m)
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ def file_list(data_path):
|
||||
@pytest.fixture()
|
||||
def module(parent_data_path, file_list):
|
||||
m = RootBinaries(target_path=parent_data_path, log=logging)
|
||||
m.from_folder(parent_data_path, file_list)
|
||||
m.from_dir(parent_data_path, file_list)
|
||||
return m
|
||||
|
||||
|
||||
@@ -108,7 +108,7 @@ class TestAndroidqfRootBinaries:
|
||||
# Test behavior when no root_binaries.json file is present
|
||||
empty_file_list = []
|
||||
m = RootBinaries(target_path=parent_data_path, log=logging)
|
||||
m.from_folder(parent_data_path, empty_file_list)
|
||||
m.from_dir(parent_data_path, empty_file_list)
|
||||
|
||||
run_module(m)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user