edit descriptor test

This commit is contained in:
Bastian Schroll 2018-01-07 22:34:40 +01:00
parent ab5948840b
commit 1f6c2cba3e
2 changed files with 6 additions and 3 deletions

View file

@ -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"""

View file

@ -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"""