MCPcopy Create free account
hub / github.com/lincolnloop/python-qrcode / test_mode_8bit_newline

Function test_mode_8bit_newline

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

Source from the content-addressed store, hash-verified

89
90
91def test_mode_8bit_newline():
92 qr = qrcode.QRCode()
93 qr.add_data("ABCDEFGHIJ1234567890\n", optimize=0)
94 qr.make()
95 assert qr.data_list[0].mode == MODE_8BIT_BYTE
96
97
98def test_make_image_with_wrong_pattern():

Callers

nothing calls this directly

Calls 2

add_dataMethod · 0.95
makeMethod · 0.95

Tested by

no test coverage detected