Wrote unit tests and found and fixed bugs

This commit is contained in:
Lonami
2016-08-30 13:12:59 +02:00
parent 557ec70237
commit e712a9bf61
6 changed files with 159 additions and 32 deletions
+1 -1
View File
@@ -21,4 +21,4 @@ class TcpClient:
def read(self, buffer_size):
"""Reads (receives) the specified bytes from the connected peer"""
self.socket.recv(buffer_size)
return self.socket.recv(buffer_size)