Added error checking for the result_data dictionary. Raises InvalidLTIConfigError if dictionary has more than one entry or if the entry does not have the key 'text' or 'url'. If url or text is set to None, the XML function inserts a self-closing tag (e.g. <url/>). If url or text set to empty string, the XML function puts both tags (e.g. <url></url>). I did not include url validation for the 'url' field because return URLs might be relative or absolute, depending on the application
Added error checking for the result_data dictionary. Raises InvalidLTIConfigError if dictionary has more than one entry or if the entry does not have the key 'text' or 'url'. If url or text is set to None, the XML function inserts a self-closing tag (e.g. <url/>). If url or text set to empty string, the XML function puts both tags (e.g. <url></url>). I did not include url validation for the 'url' field because return URLs might be relative or absolute, depending on the application

harvard-dce/dce_lti_py,brainheart/dce_lti_py,bsulcer/ims_lti_py,nikolas/ims_lti_py,tophatmonocle/ims_lti_py,UbiCastTeam/ims_lti_py