Skip to content

Commit 96ec5df

Browse files
committed
Add test for unicode characters
1 parent 626dfab commit 96ec5df

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Diff for: tests/test_message_lengths.py renamed to tests/test_text_messages.py

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# -*- coding: utf-8 -*-
12
from utils import session, server
23

34

@@ -68,3 +69,11 @@ def test_text_message_of_length_1500KB(session):
6869
assert len(msg) == 1500000
6970
server.send_message_to_all(msg)
7071
assert client.recv() == msg
72+
73+
74+
def test_text_message_with_unicode_characters(session):
75+
client, server = session
76+
msg = '$äüö^'
77+
server.send_message_to_all(msg)
78+
print(client.recv())
79+
# assert client.recv() == msg

0 commit comments

Comments
 (0)