feat(k1): add local connection matrix
This commit is contained in:
@@ -275,6 +275,15 @@ def test_acceptance_transport_rejects_the_k1_access_point_fallback() -> None:
|
||||
ReviewedApplicationMqttTransport("192.168.56.1")
|
||||
|
||||
|
||||
def test_acceptance_transport_admits_the_k1_ap_only_with_an_explicit_gate() -> None:
|
||||
transport = ReviewedApplicationMqttTransport(
|
||||
"192.168.56.1",
|
||||
allow_device_ap=True,
|
||||
)
|
||||
|
||||
assert transport.snapshot().state == "new"
|
||||
|
||||
|
||||
def test_retained_control_subscription_batches_remain_exact_and_separate_from_points() -> None:
|
||||
assert [len(group) for group in CONTROL_SUBSCRIPTION_GROUPS] == [9, 5, 42]
|
||||
assert CONTROL_SUBSCRIPTION_GROUPS[0][-1] == (DEVICE_INFO_RESPONSE_TOPIC, 0)
|
||||
|
||||
Reference in New Issue
Block a user