Fill protocol packs from recovered USB CTS, Type-C FTS, DVI 1.0, and IEEE 802.3-2012 Section Two (2.74.0).
NUMERIC rows cite document title, revision, section/table, and page. USB Zdiff, Type-C Rp/Rd, 10BASE-T, and 1000BASE-T stay UNKNOWN. PDFs are not in git.
This commit is contained in:
@@ -90,9 +90,11 @@ def test_m10_no_invented_ohms_and_no_usbif_fill():
|
||||
loaded = load_catalog()
|
||||
for iface in loaded.physical_interfaces:
|
||||
for c in iface.constraints:
|
||||
assert c.value is None
|
||||
assert c.value_kind != "NUMERIC" or (c.source is not None)
|
||||
if c.value_kind != "NUMERIC":
|
||||
if c.value_kind == "NUMERIC":
|
||||
assert c.source is not None
|
||||
assert c.source.document
|
||||
else:
|
||||
assert c.value is None
|
||||
assert c.unit is None
|
||||
blob = json.dumps([
|
||||
c.model_dump() for p in loaded.physical_interfaces for c in p.constraints
|
||||
|
||||
Reference in New Issue
Block a user