Fix 'Stream does not exist' test.

(imported from commit d4f0f3deaa3cc4b9cab67c90b87aa8bff2e72653)
This commit is contained in:
Tim Abbott 2012-10-30 16:50:58 -04:00
parent 013a2381b2
commit 70f21f9d8e
1 changed files with 1 additions and 2 deletions

View File

@ -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):
"""