Fix test broken by 0917d5c2ed1b156603ce53aaec88ecbe26f5f39c

(imported from commit 1efce3527c52722deb5ea5ece4aa2bca5e0665c5)
This commit is contained in:
Zev Benjamin 2012-10-12 14:29:23 -04:00
parent deffda072f
commit f5131356f4
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class MessagePOSTTest(AuthedTestCase):
result = self.client.post("/send_message/", {"type": "personal", result = self.client.post("/send_message/", {"type": "personal",
"content": "Test message", "content": "Test message",
"recipient": "nonexistent"}) "recipient": "nonexistent"})
self.assert_json_error(result, "Invalid email") self.assert_json_error(result, "Invalid email 'nonexistent'")
def test_invalid_type(self): def test_invalid_type(self):
""" """