-
How to mock bleak properly ?
DescriptionI'm using bleak in my python library. I use All works find on my laptop, but when CI runs all unit tests into a docker container (
Of course WorkaroundAs workaround, I provide in my CI an environment variable QuestionWhat is the proper way to do not show import statement failed due to that ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
The
READTHEDOCS
flag skips the version check on thebluez
package. Either use that (which is used for building documentation on Read the Docs) or install bluez in your container. Bleak's CI workflows does precisely that.