mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-08-24 01:33:50 +08:00
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user