mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-06 20:43:46 +08:00
Assert held Curve target in stale-frame fixture
This commit is contained in:
@@ -90,6 +90,7 @@ class TestCurveRuntime(unittest.TestCase):
|
||||
rt = Runtime(enabled=True)
|
||||
arm_selected(rt)
|
||||
held = rt.filter.target
|
||||
assert held is not None
|
||||
stale = frame(27, inputs_fresh=False)
|
||||
self.assertIsNone(rt.step(stale).ceiling_mps)
|
||||
rt.confirm_applied(stale.now_ns, applied=False)
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "c63cb2675c4d7c9ad1e0e64eb6e1205e157b3d11c359a303af7395dd5a148128", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "ed6eb5a7b39e128e98e03c30726769cf659b16eb8de7dbf14be0c85f3c0dd42d", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user