mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
car docs: speedup test (#26337)
* faster * faster old-commit-hash: 80e8d76d39b1e1992d1b6cf258aa8d878673ca10
This commit is contained in:
@@ -10,8 +10,9 @@ from selfdrive.car.honda.values import CAR as HONDA
|
||||
|
||||
|
||||
class TestCarDocs(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.all_cars = get_all_car_info()
|
||||
@classmethod
|
||||
def setUpClass(cls):
|
||||
cls.all_cars = get_all_car_info()
|
||||
|
||||
def test_generator(self):
|
||||
generated_cars_md = generate_cars_md(self.all_cars, CARS_MD_TEMPLATE)
|
||||
|
||||
Reference in New Issue
Block a user