tici tests: remove pytest.main (#31622)

pytest.main is bad!
pull/31623/head
Justin Newberry 1 year ago committed by GitHub
parent c05b37979d
commit 19db56b1f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/test/test_onroad.py
  2. 2
      system/hardware/tici/tests/test_hardware.py
  3. 3
      system/hardware/tici/tests/test_power_draw.py

@ -424,4 +424,4 @@ class TestOnroad(unittest.TestCase):
if __name__ == "__main__":
pytest.main()
unittest.main()

@ -25,4 +25,4 @@ class TestHardware(unittest.TestCase):
if __name__ == "__main__":
pytest.main()
unittest.main()

@ -1,6 +1,5 @@
#!/usr/bin/env python3
from collections import defaultdict, deque
import sys
import pytest
import unittest
import time
@ -132,4 +131,4 @@ class TestPowerDraw(unittest.TestCase):
if __name__ == "__main__":
pytest.main(sys.argv)
unittest.main()

Loading…
Cancel
Save