This commit is contained in:
Patrick Kanzler 2023-10-05 14:06:54 +02:00
parent 7e779710e7
commit fdbb552b08

View File

@ -85,7 +85,9 @@ class TestCLI:
"""Test the extended version information""" """Test the extended version information"""
result = self.env.run("python-escpos", "version_extended") result = self.env.run("python-escpos", "version_extended")
assert not result.stderr assert not result.stderr
# TODO test output assert escpos.__version__ in result.stdout
# test that additional information on e.g. Serial is printed
assert "Serial" in result.stdout
@pytest.mark.skip( @pytest.mark.skip(
reason="disable this test as it is not that easy anymore to predict the outcome of this call" reason="disable this test as it is not that easy anymore to predict the outcome of this call"