'Test that bad json_str to parse_lti_2_0_result_json inputs raise appropriate LTI Error'

def test_lti20_bad_json(self):

    for (error_inputs, error_message) in self.BAD_JSON_INPUTS:
        for einput in error_inputs:
            with self.assertRaisesRegexp(LTIError, error_message):
                self.xmodule.parse_lti_2_0_result_json(einput)
