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

Function test_sys_argv

qrcode/tests/test_script.py:65–67  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64@mock.patch.object(sys, "argv", "qr testtext output".split())
65def test_sys_argv():
66 pytest.importorskip("PIL", reason="Requires PIL")
67 main()
68
69
70def test_output(tmp_path):

Callers

nothing calls this directly

Calls 1

mainFunction · 0.90

Tested by

no test coverage detected