diff options
author | Ib Lundgren <ib.lundgren@gmail.com> | 2012-04-26 13:13:09 +0200 |
---|---|---|
committer | Ib Lundgren <ib.lundgren@gmail.com> | 2012-04-26 13:13:09 +0200 |
commit | 3ac2b61395f4e9489aa4ee8cc46ef68ef9ac9082 (patch) | |
tree | dcee2366bd4946d008f01e4cb8ced1369a298ccd /tests/oauth1 | |
parent | b43faf7a3deae34c38e60a0af689fb91018c4101 (diff) | |
download | oauthlib-3ac2b61395f4e9489aa4ee8cc46ef68ef9ac9082.tar.gz |
Regex fix
Diffstat (limited to 'tests/oauth1')
-rw-r--r-- | tests/oauth1/rfc5849/test_utils.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/oauth1/rfc5849/test_utils.py b/tests/oauth1/rfc5849/test_utils.py index 901bcb9..a460d7b 100644 --- a/tests/oauth1/rfc5849/test_utils.py +++ b/tests/oauth1/rfc5849/test_utils.py @@ -143,9 +143,10 @@ class UtilsTests(TestCase): self.assertRaises(ValueError, urldecode, u'foo bar') self.assertRaises(ValueError, urldecode, u'?') - self.assertRaises(ValueError, urldecode, u'%?A') - self.assertRaises(ValueError, urldecode, u'%A?') - self.assertRaises(ValueError, urldecode, u'%??') + self.assertRaises(ValueError, urldecode, u'%R') + self.assertRaises(ValueError, urldecode, u'%RA') + self.assertRaises(ValueError, urldecode, u'%AR') + self.assertRaises(ValueError, urldecode, u'%RR') def test_parse_authorization_header(self): |