1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-09-13 09:09:58 +00:00

adapt behavior of cups printer to match other implementations

This commit is contained in:
Patrick Kanzler
2023-12-16 21:57:36 +01:00
parent 5c5acff16c
commit b634354c99
2 changed files with 5 additions and 5 deletions

View File

@@ -170,7 +170,7 @@ def test_read_no_device(cupsprinter) -> None:
"""
GIVEN a cups printer object
WHEN device is None
THEN check the return value is b''
THEN check the return value is b'8'
"""
cupsprinter.device = None
assert cupsprinter._read() == b""
assert cupsprinter._read() == b"8"