Account for deferred retirements in apply budget

This commit is contained in:
Lyncoln
2026-09-20 13:13:28 -04:00
parent a93e067bfd
commit 572dd9eae4
4 changed files with 112 additions and 10 deletions
+12 -1
View File
@@ -553,7 +553,7 @@ class ExecutionTests(unittest.TestCase):
NOW,
)
execute_endpoint_plans(
result = execute_endpoint_plans(
[adapter],
[plan],
store,
@@ -590,6 +590,17 @@ class ExecutionTests(unittest.TestCase):
)
],
)
self.assertEqual(
result.retired,
(
(
endpoint.identity,
RetireRequest(
object=old_certificate,
),
),
),
)
def test_failed_verification_is_persisted_and_raises(self):
endpoint = Endpoint("verizon", "192.168.1.1:443")