matmair / brother_ql-inventree

Python package for the raster language protocol of the Brother QL series label printers
GNU General Public License v3.0
27 stars 10 forks source link

Add testing #59

Open matmair opened 3 months ago

matmair commented 3 months ago

Original issue: https://github.com/pklaus/brother_ql/issues/134

I have tested this out a bit with a custom backend and that might be the most Pythonic way to test most functions. Mocking by replacing libusb could also be possible but that is more hassle than it is worth.