test_helpers: Change send_json_payload to use text_type.

This commit is contained in:
Tim Abbott
2016-06-15 16:24:58 -07:00
parent b14eacd552
commit df9f89fe2c

View File

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