- support for Legato 100 & Legato 101 syringe pumps
- check compatibility with other syringe pumps
- alternative synchronous controller
- more interesting examples of usage
poetry shell
poetry install --with dev
A suite of pytest tests is available in tests. These can be run in two modes:
- Online: requires a Legato 100 syringe pump to be connected to the computer
- Offline: uses mock responses collected during online tests
Further, a small set of tests is available to test the motion control functionality of the pump. These tests will move the plunger if a pump is connected. They are disabled by default and can be run with the --motion
flag.
pytest
pytest --offline
pytest --motion
Note: we use pytest-cov
for coverage reporting.
The coverage uses a debugger mechanism, so in order to debug, you need to disable coverage with --no-cov
.