Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix a test.

  • Loading branch information...
commit b6afa69fc878baa4acea365c252b16cc512238f9 1 parent 099317c
@davedash davedash authored ozten committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 apps/phonebook/tests/test_invites.py
View
4 apps/phonebook/tests/test_invites.py
@@ -20,8 +20,8 @@ def invite_someone(self):
d = dict(recipient='mr.fusion@gmail.com')
r = self.mozillian_client.post(url, d, follow=True)
eq_(r.status_code, 200)
- eq_(pq(r.content)('div#main-content p').text(),
- 'mr.fusion@gmail.com has been invited to Mozillians.')
+ assert ('mr.fusion@gmail.com has been invited to Mozillians.' in
+ pq(r.content)('div#main-content p').text())
# See that the email was sent.
eq_(len(mail.outbox), 1)
Please sign in to comment.
Something went wrong with that request. Please try again.