convert tests to unittest (#38387)

This commit is contained in:
Adeeb Shihadeh
2026-07-21 11:02:34 -07:00
committed by GitHub
parent ebb5cc12f5
commit 911f07ee87
80 changed files with 573 additions and 434 deletions
@@ -5,17 +5,18 @@ import signal
import subprocess
import time
import pytest
import unittest
from openpilot.common.test import OpenpilotTestCase
from openpilot.common.basedir import BASEDIR
from openpilot.common.timeout import Timeout
from openpilot.tools.plotjuggler.juggle import DEMO_ROUTE, install
PJ_DIR = os.path.join(BASEDIR, "openpilot/tools/plotjuggler")
class TestPlotJuggler:
class TestPlotJuggler(OpenpilotTestCase):
@pytest.mark.skipif(not shutil.which('qmake'), reason="Qt not installed")
@unittest.skipIf(not shutil.which('qmake'), "Qt not installed")
def test_demo(self):
install()