test: update and add tests for all updated subsystems

This commit is contained in:
2026-06-16 03:37:00 +00:00
parent 6e814d2827
commit 7abe7700e9
10 changed files with 733 additions and 102 deletions
+4 -4
View File
@@ -130,10 +130,10 @@ class TestDhcpRangesIntegration:
assert "lan2" in ranges
assert "wan0" not in ranges
assert ranges["lan1"]["start"] == "192.168.1.1"
assert ranges["lan1"]["end"] == "192.168.1.254"
assert ranges["lan2"]["start"] == "10.10.0.1"
assert ranges["lan2"]["end"] == "10.10.255.254"
assert ranges["lan1"]["start"] == "192.168.1.100"
assert ranges["lan1"]["end"] == "192.168.1.200"
assert ranges["lan2"]["start"] == "10.10.0.100"
assert ranges["lan2"]["end"] == "10.10.0.200"
def test_generate_then_infer(self, tmp_network):
"""End-to-end: save, generate, infer ranges."""