'Sending a stream message containing non-ASCII characters in the stream
name, subject, or message body succeeds.'

@slow('checks    all    users')
def test_non_ascii_stream_message(self):

    self.login(self.example_email('hamlet'))
    non_ascii_stream_name = u'h\xfcmb\xfc\u01f5'
    realm = get_realm('zulip')
    stream = self.make_stream(non_ascii_stream_name)
    for user_profile in UserProfile.objects.filter(realm=realm):
        self.subscribe_to_stream(user_profile.email, stream.name)
    self.assert_stream_message(non_ascii_stream_name, subject=u'h\xfcmb\xfc\u01f5', content=u'h\xfcmb\xfc\u01f5')
