Esempio n. 1
0
def test_calculate_dbot_score_file():
    from AutofocusV2 import calculate_dbot_score
    score = calculate_dbot_score(FILE_RES_JSON, 'File')
    assert score == 3
Esempio n. 2
0
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
Esempio n. 3
0
def test_calculate_dbot_score():
    from AutofocusV2 import calculate_dbot_score
    score = calculate_dbot_score(IP_RES_JSON, 'IP')
    assert score == 3