summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2018-08-12 23:34:11 +0200
committerGitHub <noreply@github.com>2018-08-12 23:34:11 +0200
commit37dad8391c7b9f00c93fba134e6be845e0adf2f1 (patch)
tree267a6f6ee1e2ae63b395e44589ef3ae050aa1f36 /tests
parenta4f39fc93ca2cb3b14eb1f3538ba5363148485be (diff)
parentd5d843de71e2ddd6da913971f42beec890f5c3b7 (diff)
downloadoauthlib-37dad8391c7b9f00c93fba134e6be845e0adf2f1.tar.gz
Merge branch 'master' into invalid-grant-should-respond-with-400
Diffstat (limited to 'tests')
-rw-r--r--tests/test_common.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_common.py b/tests/test_common.py
index b0ea20d..fb4bd5b 100644
--- a/tests/test_common.py
+++ b/tests/test_common.py
@@ -39,6 +39,8 @@ class EncodingTest(TestCase):
self.assertItemsEqual(urldecode('foo=bar@spam'), [('foo', 'bar@spam')])
self.assertItemsEqual(urldecode('foo=bar/baz'), [('foo', 'bar/baz')])
self.assertItemsEqual(urldecode('foo=bar?baz'), [('foo', 'bar?baz')])
+ self.assertItemsEqual(urldecode('foo=bar\'s'), [('foo', 'bar\'s')])
+ self.assertItemsEqual(urldecode('foo=$'), [('foo', '$')])
self.assertRaises(ValueError, urldecode, 'foo bar')
self.assertRaises(ValueError, urldecode, '%R')
self.assertRaises(ValueError, urldecode, '%RA')