
* 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)
9 lines
176 B
Python
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""
|