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)
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)