Fixed tests

This commit is contained in:
Nex
2022-02-02 18:14:10 +01:00
parent b1b282ac20
commit 189b1d7fc6
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class TestDatausageModule:
ind = Indicators(log=logging)
ind.parse_stix2(indicator_file)
# Adds a file that exists in the manifest.
ind.ioc_files[0]["processes"].append("CumulativeUsageTracker")
ind.ioc_collections[0]["processes"].append("CumulativeUsageTracker")
m.indicators = ind
run_module(m)
assert len(m.detected) == 2