Remove double quoting.
This commit is contained in:
@@ -341,8 +341,8 @@ class LTIModule(LTIFields, XModule):
|
||||
"""
|
||||
return "{context}:{resource_link}:{user_id}".format(
|
||||
context=urllib.quote(self.context_id),
|
||||
resource_link=urllib.quote(self.get_resource_link_id()),
|
||||
user_id=urllib.quote(self.get_user_id())
|
||||
resource_link=self.get_resource_link_id(),
|
||||
user_id=self.get_user_id()
|
||||
)
|
||||
|
||||
def get_course(self):
|
||||
|
||||
@@ -34,8 +34,8 @@ class TestLTI(BaseTestXmodule):
|
||||
|
||||
sourcedId = "{context}:{resource_link}:{user_id}".format(
|
||||
context=urllib.quote(context_id),
|
||||
resource_link=urllib.quote(resource_link_id),
|
||||
user_id=urllib.quote(user_id)
|
||||
resource_link=resource_link_id,
|
||||
user_id=user_id
|
||||
)
|
||||
|
||||
lis_outcome_service_url = 'https://{host}{path}'.format(
|
||||
|
||||
Reference in New Issue
Block a user