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

Function test_mode_number

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

Source from the content-addressed store, hash-verified

58
59
60def test_mode_number():
61 qr = qrcode.QRCode()
62 qr.add_data("1234567890123456789012345678901234", optimize=0)
63 qr.make()
64 assert qr.version == 1
65 assert qr.data_list[0].mode == MODE_NUMBER
66
67
68def test_mode_alpha():

Callers

nothing calls this directly

Calls 2

add_dataMethod · 0.95
makeMethod · 0.95

Tested by

no test coverage detected