def test_calculate_dbot_score_file(): from AutofocusV2 import calculate_dbot_score score = calculate_dbot_score(FILE_RES_JSON, 'File') assert score == 3
def test_calculate_dbot_score_file(): from AutofocusV2 import calculate_dbot_score raw_indicator = IP_RES_JSON['indicator'] score = calculate_dbot_score(raw_indicator, 'File') assert score == 3
def test_calculate_dbot_score(): from AutofocusV2 import calculate_dbot_score score = calculate_dbot_score(IP_RES_JSON, 'IP') assert score == 3