Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Fix a test, closing several parentheses; #54
Browse files Browse the repository at this point in the history
This is the test that sent us off to chase down the security hole that
was closed in 864b1de.
  • Loading branch information
chadwhitacre committed Mar 8, 2013
1 parent da001c8 commit b92ce8c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/test_participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,12 +119,11 @@ def test_deactivated_participant_is_out_of_sync(self):

def test_deactivated_participant_has_no_session(self):
alice = self.make_participant('alice')
import pdb; pdb.set_trace()
assert User.from_session_token(alice.session_token).ANON
alice.session_token = 'foo'
assert User.from_session_token(alice.session_token).ANON
assert not User.from_session_token(alice.session_token).ANON
db.session.commit()
assert User.from_session_token(alice.session_token).ANON
assert not User.from_session_token(alice.session_token).ANON
alice.deactivate()
assert User.from_session_token(alice.session_token).ANON

Expand Down

0 comments on commit b92ce8c

Please sign in to comment.