Skip to content

Commit

Permalink
Try to fix tox for py27
Browse files Browse the repository at this point in the history
  • Loading branch information
TimSC committed Jan 25, 2018
1 parent c00c320 commit c26d8ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
from oauth10a._compat import u

import oauth10a as oauth
import example
from example import server as exampleserver

_UEMPTY = u('')
_UBLANK = u(' ')
Expand Down Expand Up @@ -1791,7 +1791,7 @@ def test_form_encoded_post_with_charset_in_content_type(self):

class TestDataStore(unittest.TestCase):
def test_lookup_consumer(self):
data_store = example.server.MockOAuthDataStore()
data_store = exampleserver.MockOAuthDataStore()

consumer = data_store.lookup_consumer('key')
self.assertTrue(isinstance(consumer, oauth.Consumer))
Expand All @@ -1800,7 +1800,7 @@ def test_lookup_consumer(self):
self.assertEqual(consumer2, None)

def test_lookup_token(self):
data_store = example.server.MockOAuthDataStore()
data_store = exampleserver.MockOAuthDataStore()

request = data_store.lookup_token('request', 'requestkey')
self.assertTrue(isinstance(request, oauth.Token))
Expand Down

0 comments on commit c26d8ac

Please sign in to comment.