def test_return_url_with_messages(self):
        self.assertEqual(self.tp.build_return_url(),
                self.params['launch_presentation_return_url'])
        self.tp.lti_errormsg = 'user error message'
        self.tp.lti_errorlog = 'lms error log'
        self.tp.lti_msg = 'user message'
        self.tp.lti_log = 'lms message'
        self.assertEqual(self.tp.build_return_url(),
                self.params['launch_presentation_return_url'] +
                '?lti_msg=user+message&lti_errormsg=user+error+message&lti_errorlog=lms+error+log&lti_log=lms+message')
Re-color a list of subsets according to a colormap
dataset/ETHPy150Open tophatmonocle/ims_lti_py/tests/tool_provider_tests.py/TestToolProvider.test_return_url_with_messages--crossover with--dataset/ETHPy150Open glue-viz/glue/glue/core/util.py/colorize_subsets