pyicat_plus.tests.fixtures.tcp.tcp_message_server#

pyicat_plus.tests.fixtures.tcp.tcp_message_server(data_parser=None, validate_all=True, timeout=5)[source]#

Start a TCP server and yield a queue of events. Data packages are separated by newline characters. Supported package encodings are UTF8 (default) and json.