Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix a test.

  • Loading branch information...
commit b6afa69fc878baa4acea365c252b16cc512238f9 1 parent 099317c
Dave Dash authored August 25, 2011 ozten committed September 02, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  apps/phonebook/tests/test_invites.py
4  apps/phonebook/tests/test_invites.py
@@ -20,8 +20,8 @@ def invite_someone(self):
20 20
         d = dict(recipient='mr.fusion@gmail.com')
21 21
         r = self.mozillian_client.post(url, d, follow=True)
22 22
         eq_(r.status_code, 200)
23  
-        eq_(pq(r.content)('div#main-content p').text(),
24  
-            'mr.fusion@gmail.com has been invited to Mozillians.')
  23
+        assert ('mr.fusion@gmail.com has been invited to Mozillians.' in
  24
+                pq(r.content)('div#main-content p').text())
25 25
 
26 26
         # See that the email was sent.
27 27
         eq_(len(mail.outbox), 1)

0 notes on commit b6afa69

Please sign in to comment.
Something went wrong with that request. Please try again.