Adeeb Shihadeh
55bae8feef
openpilot isn't required for a car port PR ( #33383 )
...
* disable car docs diff
* mv routes.py
* bump opendbc
old-commit-hash: 48bceb2bbf
8 months ago
Shane Smiskol
19d9e7ac6b
revert marking some files as unexecutable ( #32613 )
...
* this is not a test
* these are not tests!
old-commit-hash: c7b3ece37e
11 months ago
Adeeb Shihadeh
86b6103657
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
old-commit-hash: c59887c810
11 months ago
cl0cks4fe
639a634f7c
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: dd9d5d4528
11 months ago
Shane Smiskol
40fea75562
debug test_models script fixes ( #32362 )
...
* some things were renamed without checking
* fix that
old-commit-hash: e5107b1eab
12 months ago
Justin Newberry
1f178307f0
move getting platform to get_params ( #31871 )
...
* better
* string
* not here
old-commit-hash: ca5a2ed942
1 year ago
Justin Newberry
3105613e69
fix car test routes typing ( #31773 )
...
* Fix typing
* and fix test_car_model
* fix
old-commit-hash: a919d27afc
1 year ago
Cameron Clough
9bd90112d0
use pyupgrade to update to new typing syntax ( #31580 )
...
* add pyupgrade hook
* run pyupgrade (pre-commit run -a)
* ruff --fix
* Revert "add pyupgrade hook"
This reverts commit 56ec18bb6b
.
* revert changes to third_party/
* manual type fixes
* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
1 year ago
Justin Newberry
040223e69f
move car porting tools to tools/car_porting ( #30916 )
...
just this for now
old-commit-hash: e86d74b347
1 year ago
Adeeb Shihadeh
16ec56398c
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
old-commit-hash: a9626f95b6
2 years ago
Shane Smiskol
dd2d4decda
test_car_model: remove duplicate argument ( #29309 )
...
* only need to pass test_route
* unused
old-commit-hash: 6106876da7
2 years ago
Shane Smiskol
5200751eae
test_car_model: allow route or segment name ( #27866 )
...
* allow route or segment name
* fix
* fixes
* fixes
old-commit-hash: 50d382884d
2 years ago
Shane Smiskol
8177163c09
Silence a PytestCollectionWarning ( #25537 )
...
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
old-commit-hash: 19810f2dcc
3 years ago
Shane Smiskol
5f1990aa05
test_models: support for running on any route ( #24002 )
...
* run test_models on route
* clean up a bit
clean up a bit
clean up a bit
* remove
remove
* make route positional
* fixes from merge
* not working as I expected
* finally working, easiest way seems to make a new subclass dynamically
* bring back routes
* remove comments
* revert skiptest
* fix subclass name
* car first
* this should be here...
* this should work
* comment
* pytest doesn't support dynamically loading with load_tests
* minimize test_models.py diff, and make new file for running on a route
* fix static analysis
* remove print
* clean up a tiny bit
* rename and make required
* auto detect car fingerprint if not given
* move to location that makes more sense
* Add ci argument for running route from routes.py
old-commit-hash: e5b189416d
3 years ago