mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
test_helpers: Change send_json_payload to use text_type.
This commit is contained in:
@@ -399,7 +399,7 @@ class AuthedTestCase(TestCase):
|
||||
return result
|
||||
|
||||
def send_json_payload(self, email, url, payload, stream_name=None, **post_params):
|
||||
# type: (str, str, Dict[str, Any], Optional[str], **Any) -> Message
|
||||
# type: (text_type, text_type, Dict[str, Any], Optional[text_type], **Any) -> Message
|
||||
if stream_name is not None:
|
||||
self.subscribe_to_stream(email, stream_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user