tests/modbus/modbus_0@modbus/ModbusTCPclient_0@ModbusTCPclient/ModbusRequest_0@ModbusRequest/confnode.xml
author Andrey Skvortsov <andrej.skvortzov@gmail.com>
Fri, 05 Oct 2018 13:11:28 +0300
changeset 2435 925adaa2cd5c
parent 2252 de3f7c183e62
permissions -rw-r--r--
cleanup pyc files between running pytest

this is need to avoid problem sometimes tests are run inside docker
container and sometimes local.

Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 409, in _importconftest
mod = conftestpath.pyimport()
File "/usr/lib/python2.7/dist-packages/py/_path/local.py", line 686, in pyimport
raise self.ImportMismatchError(modname, modfile, self)
ImportMismatchError: ('conftest', '/beremiz/tests/tools/conftest.py', local('/home/developer/beremiz/tests/tools/conftest.py'))
ERROR: could not load /home/developer/beremiz/tests/tools/conftest.py
2252
de3f7c183e62 Add Modbus example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     1
<?xml version='1.0' encoding='utf-8'?>
de3f7c183e62 Add Modbus example
Andrey Skvortsov <andrej.skvortzov@gmail.com>
parents:
diff changeset
     2
<ModbusRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" Function="16 - Write Multiple Registers" SlaveID="0"/>