summaryrefslogtreecommitdiff
path: root/tests/oauth1
diff options
context:
space:
mode:
authorIb Lundgren <ib.lundgren@gmail.com>2012-04-26 13:13:09 +0200
committerIb Lundgren <ib.lundgren@gmail.com>2012-04-26 13:13:09 +0200
commit3ac2b61395f4e9489aa4ee8cc46ef68ef9ac9082 (patch)
treedcee2366bd4946d008f01e4cb8ced1369a298ccd /tests/oauth1
parentb43faf7a3deae34c38e60a0af689fb91018c4101 (diff)
downloadoauthlib-3ac2b61395f4e9489aa4ee8cc46ef68ef9ac9082.tar.gz
Regex fix
Diffstat (limited to 'tests/oauth1')
-rw-r--r--tests/oauth1/rfc5849/test_utils.py7
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):