tests: Correct documentation on test_message_to_nonexistent_stream

(imported from commit 76176083c1a0494856a3507214e2cfc3844d1fc1)
This commit is contained in:
Keegan McAllister
2012-11-01 11:09:24 -04:00
parent c0b75ed93a
commit cb9cdf22c3

View File

@@ -344,8 +344,7 @@ class MessagePOSTTest(AuthedTestCase):
def test_message_to_nonexistent_stream(self): def test_message_to_nonexistent_stream(self):
""" """
Sending a message to a nonexistent stream creates the stream and Sending a message to a nonexistent stream fails.
is successful.
""" """
self.login("hamlet@humbughq.com") self.login("hamlet@humbughq.com")
self.assertFalse(Stream.objects.filter(name="nonexistent_stream")) self.assertFalse(Stream.objects.filter(name="nonexistent_stream"))