Skip to content

Commit

Permalink
Removed no longer valid OAuth tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rbw committed Feb 15, 2018
1 parent c8ba902 commit 4cbc74a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/test_oauth_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ def test_oauth_session_user_override(self):
c = OAuthClient(instance="test", client_id="test1", client_secret="test2",
session="testsess", user="testuser", password="testpass")

self.assertEqual(isinstance(c.session, OAuth2Session), True)
self.assertEqual(c._user, None)
self.assertEqual(c._password, None)

Expand All @@ -86,7 +85,6 @@ def test_set_token(self):
c.set_token(self.mock_token)

self.assertEqual(c.token, self.mock_token)
self.assertEqual(isinstance(c.session, OAuth2Session), True)

def test_request_without_token(self):
"""OauthClient should raise MissingToken when creating query when no token has been set"""
Expand Down

0 comments on commit 4cbc74a

Please sign in to comment.