MCPcopy Index your code
hub / github.com/lincolnloop/python-qrcode / test_factory_drawer_none

Function test_factory_drawer_none

qrcode/tests/test_script.py:75–79  ·  view source on GitHub ↗
(capsys)

Source from the content-addressed store, hash-verified

73
74
75def test_factory_drawer_none(capsys):
76 pytest.importorskip("PIL", reason="Requires PIL")
77 with pytest.raises(SystemExit):
78 main("testtext --factory pil --factory-drawer nope".split())
79 assert "The selected factory has no drawer aliases" in capsys.readouterr()[1]
80
81
82def test_factory_drawer_bad(capsys):

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected