mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2026-01-12 19:50:10 +01:00
edit descriptor test
This commit is contained in:
parent
ab5948840b
commit
1f6c2cba3e
|
|
@ -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"""
|
||||
|
|
|
|||
|
|
@ -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"""
|
||||
|
|
|
|||
Loading…
Reference in a new issue