Skip to content

Commit eb06fdf

Browse files
Add unit test
1 parent 7f4c780 commit eb06fdf

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/alerters/iris_test.py

+7
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,13 @@ def test_iris_make_iocs_records(caplog):
6464
'ioc_tlp_id': 3,
6565
'ioc_type_id': 3,
6666
'ioc_value': 'username'
67+
},
68+
{
69+
'ioc_description': 'empty ioc',
70+
'ioc_tags': 'ioc',
71+
'ioc_tlp_id': 3,
72+
'ioc_type_id': 3,
73+
'ioc_value': 'non_existent_data'
6774
}
6875
],
6976
'alert': []

0 commit comments

Comments
 (0)