diff --git a/openpilot/sunnypilot/models/tests/test_tinygrad_ref.py b/openpilot/sunnypilot/models/tests/test_tinygrad_ref.py deleted file mode 100644 index d6d82dfb32..0000000000 --- a/openpilot/sunnypilot/models/tests/test_tinygrad_ref.py +++ /dev/null @@ -1,24 +0,0 @@ -import requests - -from openpilot.sunnypilot.models.tinygrad_ref import get_tinygrad_ref -from openpilot.sunnypilot.models.fetcher import ModelFetcher -from openpilot.common.test import OpenpilotTestCase - -def fetch_tinygrad_ref(): - response = requests.get(ModelFetcher.MODEL_URL, timeout=10) - response.raise_for_status() - json_data = response.json() - return json_data.get("tinygrad_ref") - - -class TestTinygradRef(OpenpilotTestCase): - def test_tinygrad_ref(self): - current_ref = get_tinygrad_ref() - remote_ref = fetch_tinygrad_ref() - assert remote_ref == current_ref, ( - f"""tinygrad_repo ref does not match remote tinygrad_ref of current compiled driving models json. - Current: {current_ref} - Remote: {remote_ref} - Please run build-all workflow to update models.""" - ) - print("tinygrad_repo ref matches current compiled driving models json ref.")