Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/WhyNotHugo/python-barcode
/ test_ean14_checksum
Function
test_ean14_checksum
tests/test_checksums.py:31–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
29
30
31
def
test_ean14_checksum() -> None:
32
ean = get_barcode(
"ean14"
,
"1234567891258"
)
33
assert ean.get_fullcode() ==
"12345678912589"
34
35
36
def
test_isbn10_checksum() -> None:
Callers
nothing calls this directly
Calls
1
get_fullcode
Method · 0.45
Tested by
no test coverage detected