mirror of
https://github.com/mvt-project/mvt.git
synced 2026-10-13 19:21:15 +02:00
Continuing enforcement of line length and simplifying date conversions
This commit is contained in:
1 parent
0f503f72b5
commit
271fe5fbee
60 files changed
+457
-310
No files matched your search
@@ -15,7 +15,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=[])
|
||||
m = TCC(target_path=get_ios_backup_folder())
|
||||
run_module(m)
|
||||
assert len(m.results) == 11
|
||||
assert len(m.timeline) == 11
|
||||
@@ -25,8 +25,8 @@ class TestTCCtModule:
|
||||
assert m.results[0]["auth_value"] == "allowed"
|
||||
|
||||
def test_tcc_detection(self, indicator_file):
|
||||
m = TCC(target_path=get_ios_backup_folder(), log=logging, results=[])
|
||||
ind = Indicators(log=logging)
|
||||
m = TCC(target_path=get_ios_backup_folder())
|
||||
ind = Indicators(log=logging.getLogger())
|
||||
ind.parse_stix2(indicator_file)
|
||||
m.indicators = ind
|
||||
run_module(m)
|
||||
|
||||
Reference in new issue
Block a user