Skip to content
This repository has been archived by the owner on Apr 26, 2020. It is now read-only.

Commit

Permalink
Add a responses activate, making the tests run a lot faster
Browse files Browse the repository at this point in the history
  • Loading branch information
adamtheturtle committed Dec 24, 2015
1 parent fd009cf commit 9ff19bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions authentication/tests/test_authentication.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ def test_not_logged_in(self):
response = self.app.post('/logout', content_type='application/json')
self.assertEqual(response.status_code, codes.UNAUTHORIZED)

@responses.activate
def test_logout_twice(self):
"""
A POST request to log out, after a successful log out attempt returns
Expand Down

0 comments on commit 9ff19bb

Please sign in to comment.