File: conftest.py

package info (click to toggle)
labgrid 25.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,796 kB
  • sloc: python: 21,352; sh: 846; makefile: 35
file content (7 lines) | stat: -rw-r--r-- 143 bytes parent folder | download
1
2
3
4
5
6
7
import pytest


@pytest.fixture(scope="session")
def instrument(target):
    _modbus = target.get_driver("ModbusRTUDriver")
    return _modbus