Commit 93751174 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki Committed by Jérome Perrin

py2/py3: import from six.moves.

parent 1eb44d88
...@@ -422,7 +422,7 @@ class TestOAuth2(ERP5TypeTestCase): ...@@ -422,7 +422,7 @@ class TestOAuth2(ERP5TypeTestCase):
cookie_value, cookie_attributes = cookie_body.split(';', 1) cookie_value, cookie_attributes = cookie_body.split(';', 1)
cookie_value = cookie_value.strip('"') cookie_value = cookie_value.strip('"')
cookie_value_dict = { cookie_value_dict = {
'value': urllib.unquote(cookie_value), 'value': six.moves.urllib.parse.unquote(cookie_value),
} }
for cookie_attribute in cookie_attributes.split(';'): for cookie_attribute in cookie_attributes.split(';'):
cookie_attribute = cookie_attribute.lstrip() cookie_attribute = cookie_attribute.lstrip()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment