mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-08-19 00:43:42 +08:00
13 lines
374 B
Python
13 lines
374 B
Python
from openpilot.common.test import OpenpilotTestCase
|
|
from openpilot.selfdrive.car.docs import CARS_MD_TEMPLATE, generate_cars_md
|
|
from opendbc.car.docs import get_all_car_docs
|
|
|
|
|
|
class TestCarDocs(OpenpilotTestCase):
|
|
@classmethod
|
|
def setup_class(cls):
|
|
cls.all_cars = get_all_car_docs()
|
|
|
|
def test_generator(self):
|
|
generate_cars_md(self.all_cars, CARS_MD_TEMPLATE)
|