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

Function test_fit

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

Source from the content-addressed store, hash-verified

48
49
50def test_fit():
51 qr = qrcode.QRCode()
52 qr.add_data("a")
53 qr.make()
54 assert qr.version == 1
55 qr.add_data("bcdefghijklmno")
56 qr.make()
57 assert qr.version == 2
58
59
60def test_mode_number():

Callers

nothing calls this directly

Calls 2

add_dataMethod · 0.95
makeMethod · 0.95

Tested by

no test coverage detected