mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-22 09:26:37 +03:00
minor fix in network test
This commit is contained in:
parent
8256cb3e55
commit
6729219761
|
@ -32,7 +32,7 @@ class NetworkTests(unittest.TestCase):
|
||||||
client.connect('localhost', port)
|
client.connect('localhost', port)
|
||||||
client.write(msg)
|
client.write(msg)
|
||||||
assert msg == client.read(
|
assert msg == client.read(
|
||||||
16), 'Read message does not equal sent message'
|
15), 'Read message does not equal sent message'
|
||||||
client.close()
|
client.close()
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
|
|
Loading…
Reference in New Issue
Block a user