refactor; update setup.py

more verbose logging
better error messages
This commit is contained in:
scito 2022-12-24 15:30:17 +01:00
parent 06b8efff62
commit e754befb52
6 changed files with 108 additions and 77 deletions

View file

@ -562,7 +562,7 @@ def test_img_qr_reader_from_stdin_wrong_symbol(capsys, monkeypatch):
# Assert
captured = capsys.readouterr()
expected_stderr = '\nBinary input was given in stdin, please use = instead of -.\n'
expected_stderr = '\nBinary input was given in stdin, please use = instead of - as infile argument for images.\n'
assert captured.err == expected_stderr
assert captured.out == ''