def METHOD_NAME(
    find_fillup,
    name,
    return_list,
    no_errors,
    criteria,
    expected_exception,
    expected_result,
):
    # Arrange
    test_api = find_fillup
    # Act
    with expected_exception:
        result = test_api.find_repo(name, return_list, no_errors, **criteria)
        # Assert
        if expected_result is None:
            assert result is None
        else:
            assert result == expected_result