Skip to content

Commit

Permalink
Using mock method for second test, too
Browse files Browse the repository at this point in the history
  • Loading branch information
reinout committed Oct 26, 2015
1 parent 3e5c603 commit 05ef064
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lizard_auth_client/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def test_get_request_token_and_determine_response1(self):
# Smoke test
self.assertTrue(views.get_request_token_and_determine_response())

@mock.patch('lizard_auth_client.views.get_request_token',
mock_get_request_token)
def test_get_request_token_and_determine_response2(self):
# Smoke test
self.assertTrue(views.get_request_token_and_determine_response(
Expand Down

0 comments on commit 05ef064

Please sign in to comment.