From b35a529ef3da91b098ccd3af7f9cf80b560fa531 Mon Sep 17 00:00:00 2001 From: Jessica McKellar Date: Thu, 7 Feb 2013 10:26:58 -0500 Subject: [PATCH] tests: update invite tests to reflect text changes. (imported from commit a3d0d0068a0b51cdf7840891e6b5a17cc0c083d2) --- zephyr/tests.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zephyr/tests.py b/zephyr/tests.py index 736b5e2afc..5b49e02bcc 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -1120,9 +1120,9 @@ earl-test@humbughq.com""", ["Denmark"])) for user in ("bob", "carol", "dave", "earl"): self.assertTrue(find_key_by_email("%s-test@humbughq.com" % user)) - def test_missing_params(self): + def test_missing_or_invalid_params(self): """ - Tests inviting with various invalid parameters. + Tests inviting with various missing or invalid parameters. """ self.login("hamlet@humbughq.com") self.assert_json_error( @@ -1132,7 +1132,7 @@ earl-test@humbughq.com""", ["Denmark"])) for address in ("noatsign.com", "outsideyourdomain@example.net"): self.assert_json_error( self.invite(address, ["Denmark"]), - "Some emails did not validate. No invites have been sent.") + "Some emails did not validate, so we didn't send any invitations.") def test_invalid_stream(self): """