Compress Ford Stop Fixture Without Changing Samples

This commit is contained in:
firestar5683
2026-10-27 13:33:58 -05:00
parent 1454919bfe
commit 6294915b59
4 changed files with 3 additions and 3 deletions
@@ -1,3 +1,4 @@
import gzip
from dataclasses import replace
import json
@@ -403,7 +404,7 @@ def test_recorded_ford_stopped_geometry_does_not_release_native_stop(request):
from openpilot.starpilot.conditional_mode.tests.test_projection import owner_context
from openpilot.starpilot.longitudinal.tests.test_lead_approach_planner import Frame, DRIVE_NS
recorded = json.loads((Path(__file__).parent / 'testdata/ford_stationary_stop.json').read_text())['frames']
recorded = json.loads(gzip.decompress((Path(__file__).parent / 'testdata/ford_stationary_stop.json.gz').read_bytes()))['frames']
fingerprint = gen_empty_fingerprint()
fingerprint[0][0x5A] = 8
cp = CarInterface.get_params(CAR.FORD_MUSTANG_MACH_E_MK1, fingerprint, [], True, False, False)
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "dcb46cc4a05334de2febd6253fe33fefc8a0a4ebe130d75de647504cfc1f413a", "schema_version": 1}
{"protected_inventory_sha256": "1b27cd449fa23ef9ae9fdb9f10451063ac58e8c3115240d3538f47cde7b6a5a0", "schema_version": 1}