summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMassimiliano <masci@evonove.it>2013-07-09 00:00:37 +0200
committerMassimiliano <masci@evonove.it>2013-07-09 00:00:37 +0200
commitc8bf90d7027966e24ebfb40188b0856cd5d7deaf (patch)
tree57f34d06f20f29694959da889eeff2427569cd00 /tests
parentfbd7d0b24086d99484375ea02a56a8181dbf436d (diff)
downloadoauthlib-c8bf90d7027966e24ebfb40188b0856cd5d7deaf.tar.gz
add comma to the set of safe characters in urls
Diffstat (limited to 'tests')
-rw-r--r--tests/test_common.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_common.py b/tests/test_common.py
index e1e2eab..fa16e12 100644
--- a/tests/test_common.py
+++ b/tests/test_common.py
@@ -24,6 +24,7 @@ class CommonTests(TestCase):
self.assertItemsEqual(urldecode('c2='), [('c2', '')])
self.assertItemsEqual(urldecode('foo=bar'), [('foo', 'bar')])
self.assertItemsEqual(urldecode('foo_%20~=.bar-'), [('foo_ ~', '.bar-')])
+ self.assertItemsEqual(urldecode('foo=1,2,3'), [('foo', '1,2,3')])
self.assertRaises(ValueError, urldecode, 'foo bar')
self.assertRaises(ValueError, urldecode, '?')
self.assertRaises(ValueError, urldecode, '%R')