1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-12-02 09:43:30 +00:00
Files
python-escpos/test/test_function_cut.py
Alexandre Detiste 35565d5564 remove some six usage
2023-12-10 01:56:31 +01:00

11 lines
286 B
Python

import escpos.printer as printer
from escpos.constants import GS
def test_cut_without_feed():
"""Test cut without feeding paper"""
instance = printer.Dummy()
instance.cut(feed=False)
expected = GS + b"V" + bytes((66,)) + b"\x00"
assert instance.output == expected