Closed mariellemanlulu closed 3 years ago
Issue: #5
test_is_submission_type_amr
_is_submission_type_amr
COMPLETED
ERROR
test_is_results_type_amr
_is_results_type_amr
test_get_amr_analysis_submissions_return_value
get_amr_analysis_submissions
[True, True, True]
[False, False, False]
[False, False, True, False]
test_get_amr_analysis_submissions_error
Description of Changes
Issue: #5
Unit tests added
test_is_submission_type_amr
_is_submission_type_amr
function calls and return valuesCOMPLETED
data.ERROR
data.test_is_results_type_amr
_is_results_type_amr
return valuestest_get_amr_analysis_submissions_return_value
get_amr_analysis_submissions
method to return what is expected[True, True, True]
to return 3 values[False, False, False]
to return 0 values[False, False, True, False]
to return 1 valuetest_get_amr_analysis_submissions_error
get_amr_analysis_submissions
to raise an error when expected.