diff --git a/zephyr/tests.py b/zephyr/tests.py index cd045902d1..ed013cc731 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -354,7 +354,7 @@ class MessagePOSTTest(AuthedTestCase): result = self.client.post("/send_message/", {"type": "personal", "content": "Test message", "recipient": "nonexistent"}) - self.assert_json_error(result, "Invalid email") + self.assert_json_error(result, "Invalid email 'nonexistent'") def test_invalid_type(self): """