refactor(access-point): the new shapes beside their declarations, models.py within its ratchet

DhcpLeaseDict lives in dhcp_leases, the AP shapes in
access_point_models; models.py stays at its recorded size.
This commit is contained in:
christianmanivong committed 2026-11-29 20:48:04 +01:00
1 parent 0db9c9ba65
commit 2ad1ead2f5
6 files changed
+30 -34

No files matched your search

+5 -5
View File
@@ -179,12 +179,12 @@ class TestDeclarations:
):
assert name in napalm_device_types.__all__, name
def test_models_re_exports_the_shapes(self):
from napalm_device_types import models
def test_the_shapes_live_beside_their_declarations(self):
from napalm_device_types import access_point_models, dhcp_leases
assert models.DhcpLeaseDict is DhcpLeaseDict
assert models.SsidConfigDict is SsidConfigDict
assert models.ApConfigDict is ApConfigDict
assert dhcp_leases.DhcpLeaseDict is DhcpLeaseDict
assert access_point_models.SsidConfigDict is SsidConfigDict
assert access_point_models.ApConfigDict is ApConfigDict
class TestParts: