WhyNotHugo / python-barcode

㊙️ Create standard barcodes with Python. No external dependencies. 100% Organic Python.
http://python-barcode.rtfd.io/
MIT License
572 stars 123 forks source link

Minor refactoring of some tests #233

Closed maresb closed 3 months ago

maresb commented 3 months ago

Split off from #230

One potentially confusing commit is "Parametrize test_generating_barcodes". I preserved the HTML by creating a module-scoped fixture that collects the individual HTML image elements. This way the test cases can pass or fail independently.

WhyNotHugo commented 3 months ago

Thanks!