Closed 2bndy5 closed 2 months ago
Currently, there's no way to manipulate the I2C.scan() results without using pytest.MonkeyPatch fixture. It would be more convenient to provide a new operation in expectations that returns a mocked result for I2c.scan() calls.
I2C.scan()
pytest.MonkeyPatch
expectations
I2c.scan()
Currently, there's no way to manipulate the
I2C.scan()
results without usingpytest.MonkeyPatch
fixture. It would be more convenient to provide a new operation inexpectations
that returns a mocked result forI2c.scan()
calls.