Skip to content
Snippets Groups Projects
  • Pavel Eis's avatar
    cbeac96f
    Add of misp basic unittests · cbeac96f
    Pavel Eis authored
    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.
    cbeac96f
    History
    Add of misp basic unittests
    Pavel Eis authored
    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.