def test_analysis_list_from_empty_dict(): with pytest.raises(ValidationError): AnalysisStatusResponse.from_dict({})
def test_analysis_list_from_valid_dict(): resp = AnalysisStatusResponse.from_dict(DICT_DATA) assert_analysis_data(resp.analysis)
def test_analysis_list_from_valid_dict(): resp = AnalysisStatusResponse.from_dict( testdata.ANALYSIS_STATUS_RESPONSE_DICT) assert_analysis_data(testdata.ANALYSIS_STATUS_RESPONSE_DICT, resp.analysis)