def pytest_addoption(parser):
    group = parser.getgroup('i2cslave')
    group.addoption('--bus', dest='i2cbus', type=int, help='I2C bus number')
    group.addoption('--serial-wait', default=20, dest='serial_wait', type=int, help='Number of milliseconds to wait before checking board output (default: 20ms)')
    group.addoption('--smbus-timeout', default=True, dest='smbus_timeout', type=bool, help='Use SMBUS timeout limit (default: True)')
def pytest_addoption(parser):
    group = parser.getgroup('i2cslave')
    group.addoption('--bus', dest='i2cbus', type=int, help='I2C bus number')
    group.addoption('--serial-wait', default=20, dest='serial_wait', type=int, help='Number of milliseconds to wait before checking board output (default: 20ms)')
    group.addoption('--smbus-timeout', default=True, dest='smbus_timeout', type=bool, help='Use SMBUS timeout limit (default: True)')