9 lines
168 B
Python
9 lines
168 B
Python
from escpos.printer import Dummy
|
|
|
|
|
|
def test_printer_dummy_clear():
|
|
printer = Dummy()
|
|
printer.text("Hello")
|
|
printer.clear()
|
|
assert printer.output == b""
|