diff --git a/zephyr/tests.py b/zephyr/tests.py index 66eeb1f98e..89117a61d4 100644 --- a/zephyr/tests.py +++ b/zephyr/tests.py @@ -354,8 +354,7 @@ class MessagePOSTTest(AuthedTestCase): "client": "test suite", "content": "Test message", "subject": "Test subject"}) - self.assert_json_success(result) - self.assertTrue(Stream.objects.filter(name="nonexistent_stream")) + self.assert_json_error(result, "Stream does not exist") def test_personal_message(self): """