mirror of
https://github.com/mvt-project/mvt.git
synced 2026-08-18 08:57:17 +02:00
Deduplicate ADB AndroidQF and other modules (#606)
* Run bugreport and backup modules during check-androidqf Adding support to automatically run ADB backup and bugreport modules automatically when running the check-androidqf command. This is a first step to deduplicate the code for Android modules. * Deduplicate modules which are run by the sub-commands. * Raise the proper NoAndroidQFBackup exception when a back-up isn't found * add missing import * Fix imports and remove duplicate hashes param * Rename from_folder to from_dir in tests --------- Co-authored-by: besendorf <janik@besendorf.org>
This commit is contained in:
co-authored by
besendorf
parent
7009cddc8c
commit
339a1d0712
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user