python-escpos/test/test_function_softbarcode.py

15 lines
210 B
Python

#!/usr/bin/python
import escpos.printer as printer
import pytest
@pytest.fixture
def instance():
return printer.Dummy()
def test_soft_barcode_ean8(instance):
instance.soft_barcode("ean8", "1234")