From bb420044648876efb501c55d0a4a261ade8c6311 Mon Sep 17 00:00:00 2001 From: Steve Howell Date: Sat, 28 Oct 2017 09:13:37 -0700 Subject: [PATCH] tests: Fix send_message calls in test_subs.py. --- zerver/tests/test_subs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zerver/tests/test_subs.py b/zerver/tests/test_subs.py index 480fa90cb5..bf826fcb4c 100644 --- a/zerver/tests/test_subs.py +++ b/zerver/tests/test_subs.py @@ -2255,7 +2255,7 @@ class InviteOnlyStreamTest(ZulipTestCase): email = self.example_email("cordelia") with self.assertRaises(JsonableError): - self.send_message(email, "Saxony", Recipient.STREAM) + self.send_stream_message(email, "Saxony") def test_list_respects_invite_only_bit(self): # type: () -> None