Isolate Laboratory tests from bundled model verification

This commit is contained in:
firestar5683
2026-11-12 14:05:33 -06:00
parent 16dad59361
commit 9e102e8f12
2 changed files with 3 additions and 1 deletions
@@ -6,6 +6,7 @@ from pathlib import Path
import tempfile
import time
import unittest
from unittest.mock import patch
from openpilot.starpilot.models.catalog import ARTIFACT_ABI, CATALOG_PATH, COMPILER_REVISION
from openpilot.starpilot.models.laboratory import ModelLaboratory, configuration
@@ -17,6 +18,7 @@ class LaboratoryTest(unittest.TestCase):
self.temp = tempfile.TemporaryDirectory()
self.addCleanup(self.temp.cleanup)
self.root = Path(self.temp.name)
self.enterContext(patch('openpilot.starpilot.models.manager.SHIPPED_MODELS', self.root / 'shipped'))
self.parked = True
self.gpu = False
self.manifest = json.loads(CATALOG_PATH.read_text())
+1 -1
View File
@@ -1 +1 @@
{"protected_inventory_sha256": "0211afd188b3c8a41965352bd7817c834d718c71aa4daf20581ab71d0ad74cc3", "schema_version": 1}
{"protected_inventory_sha256": "932e23abff9007da157347112d5d4230375c1867e26c97f6593fbb8ab9b8c357", "schema_version": 1}