car docs: speedup test (#26337)

* faster

* faster
pull/26339/head
Shane Smiskol 3 years ago committed by GitHub
parent b0656f2c75
commit 80e8d76d39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      selfdrive/car/tests/test_docs.py

@ -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)

Loading…
Cancel
Save