blynkkk / lib-python

Blynk IoT library for Python and Micropython
MIT License
237 stars 83 forks source link

tests are not compatible with pytest-mock>=1.11.2 #22

Closed rplevka closed 5 years ago

rplevka commented 5 years ago

this commit disallows to use the mocker as a context manager and since setup.py does not restrict the pytest-mock version it uses 1.11.2 and fails the tests.

antohaUa commented 5 years ago

Hi Roman! Thx a lot for such catch! For me such restriction in pytest looks a little bit strange - but i thinks guys from pytest-mock know what they do ... Anyway - I have added related changes to tests and setup.py - now all should works fine.

Please check.

antohaUa commented 5 years ago

Can be closed