summaryrefslogtreecommitdiff
path: root/tests/oauth1/rfc5849/test_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/oauth1/rfc5849/test_client.py')
-rw-r--r--tests/oauth1/rfc5849/test_client.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/oauth1/rfc5849/test_client.py b/tests/oauth1/rfc5849/test_client.py
index e1f83de..5c805a1 100644
--- a/tests/oauth1/rfc5849/test_client.py
+++ b/tests/oauth1/rfc5849/test_client.py
@@ -1,6 +1,4 @@
# -*- coding: utf-8 -*-
-from __future__ import absolute_import, unicode_literals
-
from oauthlib.common import Request
from oauthlib.oauth1 import (SIGNATURE_PLAINTEXT, SIGNATURE_HMAC_SHA1,
SIGNATURE_HMAC_SHA256, SIGNATURE_RSA,
@@ -163,7 +161,7 @@ class SignatureMethodTest(TestCase):
Client.register_signature_method('PIZZA',
lambda base_string, client: 'PIZZA')
- self.assertTrue('PIZZA' in Client.SIGNATURE_METHODS)
+ self.assertIn('PIZZA', Client.SIGNATURE_METHODS)
client = Client('client_key', signature_method='PIZZA',
timestamp='1234567890', nonce='abc')