Skip to content
Snippets Groups Projects
Commit c63170ae authored by Alexander Kryklia's avatar Alexander Kryklia
Browse files

Fix

parent 5e8aebf0
No related merge requests found
......@@ -50,7 +50,7 @@ class TestLTI(BaseTestXmodule):
"""
# self is <oauthlib.oauth1.rfc5849.Client object> here:
__, headers, __ = saved_sign(self, *args, **kwargs)
# we should replace noonce, timestamp and signed_signature in headers:
# we should replace nonce, timestamp and signed_signature in headers:
old = headers[u'Authorization']
old_parsed = OrderedDict([param.strip().replace('"', '').split('=') for param in old.split(',')])
old_parsed[u'OAuth oauth_nonce'] = mocked_nonce
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment