Impovements for SMS module (#438)

* Add indicator checking in the SMS module

* Don't add SMS entries when read timestamp not set

* Remove print() line
This commit is contained in:
Donncha Ó Cearbhaill
2023-12-17 12:59:35 +01:00
committed by GitHub
parent ab33789f06
commit 013282dbba
3 changed files with 17 additions and 8 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class TestSMSModule:
m = SMS(target_path=get_ios_backup_folder())
run_module(m)
assert len(m.results) == 1
assert len(m.timeline) == 2 # SMS received and read events.
assert len(m.timeline) == 1
assert len(m.detected) == 0
def test_detection(self, indicator_file):