1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-06-25 08:38:43 +00:00
python-escpos/test/test_functions/test_function_dummy_clear.py
Patrick Kanzler 0c824cf295
More mypy (#612)
* remove type comment where type is annotated
* move function tests
* remove six from tests
* add none annotations
* add more types
* change mock (so that mypy understands it)
2023-12-16 23:09:20 +01:00

9 lines
176 B
Python

from escpos.printer import Dummy
def test_printer_dummy_clear() -> None:
printer = Dummy()
printer.text("Hello")
printer.clear()
assert printer.output == b""