mirror of https://github.com/mvt-project/mvt.git
Fixing newlines
This commit is contained in:
parent
dd230c2407
commit
444ecf032d
|
@ -113,4 +113,3 @@ class Command(object):
|
|||
self.timeline_detected.extend(m.timeline_detected)
|
||||
|
||||
self._store_timeline()
|
||||
|
||||
|
|
|
@ -16,6 +16,7 @@ from ..utils import get_android_backup_folder
|
|||
|
||||
|
||||
class TestBackupModule:
|
||||
|
||||
def test_module_folder(self):
|
||||
backup_path = get_android_backup_folder()
|
||||
mod = SMS(target_path=backup_path, log=logging)
|
||||
|
|
|
@ -11,6 +11,7 @@ from ..utils import get_artifact
|
|||
|
||||
|
||||
class TestBackupParsing:
|
||||
|
||||
def test_parsing_noencryption(self):
|
||||
file = get_artifact("android_backup/backup.ab")
|
||||
with open(file, "rb") as f:
|
||||
|
|
|
@ -14,6 +14,7 @@ from ..utils import get_artifact_folder
|
|||
|
||||
|
||||
class TestAppopsModule:
|
||||
|
||||
def test_appops_parsing(self):
|
||||
fpath = os.path.join(get_artifact_folder(), "android_data/bugreport/")
|
||||
m = Appops(target_path=fpath, log=logging, results=[])
|
||||
|
|
|
@ -9,6 +9,7 @@ from ..utils import get_artifact
|
|||
|
||||
|
||||
class TestDumpsysParsing:
|
||||
|
||||
def test_appops_parsing(self):
|
||||
file = get_artifact("android_data/dumpsys_appops.txt")
|
||||
with open(file) as f:
|
||||
|
|
|
@ -12,6 +12,7 @@ from ..utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestBackupInfoModule:
|
||||
|
||||
def test_manifest(self):
|
||||
m = BackupInfo(target_path=get_ios_backup_folder(), log=logging)
|
||||
run_module(m)
|
||||
|
|
|
@ -13,6 +13,7 @@ from ..utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestDatausageModule:
|
||||
|
||||
def test_datausage(self):
|
||||
m = Datausage(target_path=get_ios_backup_folder(), log=logging, results=[])
|
||||
run_module(m)
|
||||
|
|
|
@ -13,6 +13,7 @@ from ..utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestManifestModule:
|
||||
|
||||
def test_manifest(self):
|
||||
m = Manifest(target_path=get_ios_backup_folder(), log=logging, results=[])
|
||||
run_module(m)
|
||||
|
|
|
@ -13,6 +13,7 @@ from ..utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestSafariBrowserStateModule:
|
||||
|
||||
def test_parsing(self):
|
||||
m = SafariBrowserState(target_path=get_ios_backup_folder(), log=logging, results=[])
|
||||
m.is_backup = True
|
||||
|
|
|
@ -13,6 +13,7 @@ from ..utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestSMSModule:
|
||||
|
||||
def test_sms(self):
|
||||
m = SMS(target_path=get_ios_backup_folder(), log=logging, results=[])
|
||||
run_module(m)
|
||||
|
|
|
@ -13,6 +13,7 @@ from ..utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestTCCtModule:
|
||||
|
||||
def test_tcc(self):
|
||||
m = TCC(target_path=get_ios_backup_folder(), log=logging, results=[])
|
||||
run_module(m)
|
||||
|
|
|
@ -11,6 +11,7 @@ from .utils import get_ios_backup_folder
|
|||
|
||||
|
||||
class TestCheckBackupCommand:
|
||||
|
||||
def test_check(self):
|
||||
runner = CliRunner()
|
||||
path = get_ios_backup_folder()
|
||||
|
|
|
@ -13,6 +13,7 @@ from .utils import get_artifact_folder
|
|||
|
||||
|
||||
class TestCheckBugreportCommand:
|
||||
|
||||
def test_check(self):
|
||||
runner = CliRunner()
|
||||
path = os.path.join(get_artifact_folder(), "android_data/bugreport/")
|
||||
|
|
Loading…
Reference in New Issue