Esempio n. 1
0
def test_parse_indicator_response():
    from AutofocusV2 import parse_indicator_response
    raw_indicator = IP_RES_JSON['indicator']
    raw_tags = IP_RES_JSON['tags']
    indicator = parse_indicator_response(raw_indicator, raw_tags, 'IP')
    assert json.dumps(indicator) == json.dumps(INDICATOR_RES)
Esempio n. 2
0
def test_parse_indicator_response():
    from AutofocusV2 import parse_indicator_response
    indicator = parse_indicator_response(IP_RES_JSON, 'IP')
    assert json.dumps(indicator) == json.dumps(INDICATOR_RES)