'LTI module gets client key and secret provided.'

def test_client_key_secret(self):

    mocked_course = Mock(lti_passports=['lti_id:test_client:test_secret'])
    modulestore = Mock()
    modulestore.get_course.return_value = mocked_course
    runtime = Mock(modulestore=modulestore)
    self.xmodule.descriptor.runtime = runtime
    self.xmodule.lti_id = 'lti_id'
    (key, secret) = self.xmodule.get_client_key_secret()
    expected = ('test_client', 'test_secret')
    self.assertEqual(expected, (key, secret))
