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

Commit

Permalink
Fix test regression introduced by #1457 fix
Browse files Browse the repository at this point in the history
This one is a little convoluted. We introduced the cent sign unicode
character into our mark-up at some point (#1070?), and that should've
been in the output of the self.get call in this case but wasn't because
of the #1457 bug. The test still passed because it's not a test for the
cent sign.
  • Loading branch information
chadwhitacre committed Sep 14, 2013
1 parent 37b73f2 commit 0187b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def test_profile(self):
self.make_participant('cheese',
claimed_time=datetime.datetime.now(pytz.utc))
expected = "I'm grateful for gifts"
actual = self.get('/cheese/')
actual = self.get('/cheese/').decode('utf8') # deal with cent sign
assert expected in actual, actual

def test_widget(self):
Expand Down

0 comments on commit 0187b85

Please sign in to comment.