Publish Zonghengjia Windows 0.4.0 client source

This commit is contained in:
2026-11-29 23:48:07 +08:00
parent 308d71021e
commit 7a00f97910
37 changed files with 1722 additions and 511 deletions
@@ -16,7 +16,7 @@ from django.utils import timezone
class CandidateUpgradeCompatibilityTests(TransactionTestCase):
old_target = [("control", "0010_plan_billing_months_plan_online_payment_required")]
candidate_target = [("control", "0015_learning_delivery")]
candidate_target = [("control", "0016_node_retirement_ack")]
@contextmanager
def baseline(self):
@@ -114,6 +114,8 @@ class CandidateUpgradeCompatibilityTests(TransactionTestCase):
self.assertFalse(new_node.office_only)
self.assertEqual(new_node.office_access_scope, "explicit_users")
self.assertFalse(new_node.office_users.exists())
self.assertIsNone(new_node.retirement_drain_started_at)
self.assertIsNone(new_node.retirement_empty_ack_at)
new_sub = current.get_model("control", "Subscription").objects.get(pk=sub.pk)
self.assertEqual(list(new_sub.allowed_nodes.values_list("pk", flat=True)), [node.pk])
observations = current.get_model("control", "RouteObservation").objects