Skip to content

Commit

Permalink
Add unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorywychowaniec-zt authored Feb 17, 2024
1 parent 7f4c780 commit eb06fdf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/alerters/iris_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@ def test_iris_make_iocs_records(caplog):
'ioc_tlp_id': 3,
'ioc_type_id': 3,
'ioc_value': 'username'
},
{
'ioc_description': 'empty ioc',
'ioc_tags': 'ioc',
'ioc_tlp_id': 3,
'ioc_type_id': 3,
'ioc_value': 'non_existent_data'
}
],
'alert': []
Expand Down

0 comments on commit eb06fdf

Please sign in to comment.