Add of misp basic unittests
Two basic tests created in test_misp.py. First in class TestMispToIdeaConverter tests MISP to IDEA conversion. Loads designed MISP event and converts it to IDEA event. Then compares one to one with correctly converted IDEA event. Second is placed in class TestIdeaToMispConverter. Loads designed IDEA event and converts it to MISP event. Then checks attribute count of newly converted MISP event and checks, if all values were inserted.
Showing
- misp_test_files/test_idea_event.json 212 additions, 0 deletionsmisp_test_files/test_idea_event.json
- misp_test_files/test_idea_event_02.json 140 additions, 0 deletionsmisp_test_files/test_idea_event_02.json
- misp_test_files/test_misp_event.json 1228 additions, 0 deletionsmisp_test_files/test_misp_event.json
- test_misp.py 177 additions, 0 deletionstest_misp.py
misp_test_files/test_idea_event.json
0 → 100644
misp_test_files/test_idea_event_02.json
0 → 100644
misp_test_files/test_misp_event.json
0 → 100644
This diff is collapsed.
test_misp.py
0 → 100644
Please register or sign in to comment