From 1f6c2cba3e60936d48cd5216bdb0cd342a197475 Mon Sep 17 00:00:00 2001 From: Bastian Schroll Date: Sun, 7 Jan 2018 22:34:40 +0100 Subject: [PATCH] edit descriptor test --- boswatch/network/client.py | 7 +++++-- test/test_descriptor.py | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/boswatch/network/client.py b/boswatch/network/client.py index 6c7f211..3734f25 100644 --- a/boswatch/network/client.py +++ b/boswatch/network/client.py @@ -24,7 +24,10 @@ class TCPClient: """!TCP client class""" def __init__(self, timeout=3): - """!Create a new instance""" + """!Create a new instance + + Create a new instance of an TCP Client. + And set the timeout""" try: self._sock = None self._timeout = timeout @@ -67,7 +70,7 @@ class TCPClient: return False def transmit(self, data): - """!Send a data packet.py to the server + """!Send a data packet to the server @param data: data to send to the server @return True or False""" diff --git a/test/test_descriptor.py b/test/test_descriptor.py index 490bdd8..b805bc1 100644 --- a/test/test_descriptor.py +++ b/test/test_descriptor.py @@ -24,7 +24,7 @@ from boswatch.descriptor import descriptor class Test_Descriptor: """!Unittests for the descriptor - @todo Error because path's in paths.py are false""" + @todo Error because path's in paths.py are false when start over pytest""" def test_loadCSVnotExist(self): """!read CSV file where not exist"""