Adds support for MMS parsing in android backups

This commit is contained in:
tek
2022-06-23 11:05:04 +02:00
parent c4f91ba28b
commit 0622357a64
6 changed files with 22 additions and 9 deletions
+2 -2
View File
@@ -26,7 +26,7 @@ class TestBackupModule:
files.append(os.path.relpath(os.path.join(root, fname), backup_path))
mod.from_folder(backup_path, files)
run_module(mod)
assert len(mod.results) == 1
assert len(mod.results) == 2
assert len(mod.results[0]["links"]) == 1
assert mod.results[0]["links"][0] == "https://google.com/"
@@ -43,7 +43,7 @@ class TestBackupModule:
files.append(member.name)
mod.from_ab(fpath, tar, files)
run_module(mod)
assert len(mod.results) == 1
assert len(mod.results) == 2
assert len(mod.results[0]["links"]) == 1
def test_module_file2(self):