fix docs.py path references (#34200)

pull/34202/head
elkoled 5 months ago committed by GitHub
parent dcb3113c4b
commit 334e06c04f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      .github/PULL_REQUEST_TEMPLATE/car_port.md
  2. 2
      .github/pull_request_template.md
  3. 2
      selfdrive/car/tests/test_docs.py

@ -8,7 +8,7 @@ assignees: ''
**Checklist** **Checklist**
- [ ] added entry to CAR in selfdrive/car/*/values.py and ran `selfdrive/opcar/docs.py` to generate new docs - [ ] added entry to CAR in selfdrive/car/*/values.py and ran `selfdrive/car/docs.py` to generate new docs
- [ ] test route added to [routes.py](https://github.com/commaai/openpilot/blob/master/selfdrive/car/tests/routes.py) - [ ] test route added to [routes.py](https://github.com/commaai/openpilot/blob/master/selfdrive/car/tests/routes.py)
- [ ] route with openpilot: - [ ] route with openpilot:
- [ ] route with stock system: - [ ] route with stock system:

@ -44,7 +44,7 @@ Explain how you tested this bug fix.
**Checklist** **Checklist**
- [ ] added entry to CAR in selfdrive/car/*/values.py and ran `selfdrive/opcar/docs.py` to generate new docs - [ ] added entry to CAR in selfdrive/car/*/values.py and ran `selfdrive/car/docs.py` to generate new docs
- [ ] test route added to [routes.py](https://github.com/commaai/openpilot/blob/master/selfdrive/car/tests/routes.py) - [ ] test route added to [routes.py](https://github.com/commaai/openpilot/blob/master/selfdrive/car/tests/routes.py)
- [ ] route with openpilot: - [ ] route with openpilot:
- [ ] route with stock system: - [ ] route with stock system:

@ -17,7 +17,7 @@ class TestCarDocs:
with open(CARS_MD_OUT) as f: with open(CARS_MD_OUT) as f:
current_cars_md = f.read() current_cars_md = f.read()
assert generated_cars_md == current_cars_md, "Run selfdrive/opcar/docs.py to update the compatibility documentation" assert generated_cars_md == current_cars_md, "Run selfdrive/car/docs.py to update the compatibility documentation"
def test_docs_diff(self): def test_docs_diff(self):
dump_path = os.path.join(BASEDIR, "selfdrive", "car", "tests", "cars_dump") dump_path = os.path.join(BASEDIR, "selfdrive", "car", "tests", "cars_dump")

Loading…
Cancel
Save