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

Commit

Permalink
Fix two regressions that snuck in on #287
Browse files Browse the repository at this point in the history
  • Loading branch information
chadwhitacre committed Apr 11, 2013
1 parent 5510d15 commit 333ddb4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_elsewhere.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@

class TestAccountElsewhere(Harness):

def test_opt_in_can_changes_username(self):
def test_opt_in_can_change_username(self):
account = TwitterAccount("alice", {})
expected = "bob"
actual = account.opt_in("bob").username
actual = account.opt_in("bob")[0].username
assert actual == expected, actual

def test_opt_in_doesnt_have_to_change_username(self):
self.make_participant("bob")
account = TwitterAccount("alice", {})
expected = account.participant
actual = account.opt_in("bob").username # A random one.
actual = account.opt_in("bob")[0].username # A random one.
assert actual == expected, actual

0 comments on commit 333ddb4

Please sign in to comment.