def setUp(self): self.lti = LTI('initial', 'any') self.lti.lti_params = BASE_LTI_PARAMS.copy()
def test_consumer_user_id(self): lti = LTI('initial', 'any') lti.lti_params = BASE_LTI_PARAMS.copy() lti.lti_params['oauth_consumer_key'] = '1234567890' self.assertEquals(lti.consumer_user_id(), '1234567890-student')
def setUp(self): self.backend = LTIBackend() self.lti = LTI('initial', 'any') self.lti.lti_params = BASE_LTI_PARAMS.copy()