Adeeb Shihadeh
c59887c810
test_*.py files are no longer executable ( #32610 )
...
* test_*.py files are no longer executable
* cleanup empty lines
* update precommit
* fixme
* enable
* build
11 months ago
cl0cks4fe
dd9d5d4528
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>
11 months ago
Justin Newberry
b0eae8c1b7
platformconfig and carspecs are now required, carspecs no longer kwarg ( #31667 )
...
* required
* mock can be a platform!
* default is mock
* fix that
* and that one
1 year ago
Justin Newberry
ba3067a560
Revert "Pytest: run tests in random order" ( #30469 )
...
Revert "Pytest: run tests in random order (#30134 )"
This reverts commit a5d99e0ebb
.
1 year ago
Justin Newberry
a5d99e0ebb
Pytest: run tests in random order ( #30134 )
...
* enable random order
* logprint info
* revert that
* better logging
* go to dfu
* try to flash every panda if not up to date
* revert panda debugging
1 year ago
Adeeb Shihadeh
a9626f95b6
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
2 years ago
Shane Smiskol
b00bc4f57e
Car interface: require fingerprint and FW versions to get params ( #26932 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
* fix
* wrong fix 🤦
2 years ago
Adeeb Shihadeh
f14deae475
Revert "Car interface: require fingerprint and FW versions to get params ( #26766 )"
...
This reverts commit b68dabb689
.
2 years ago
Shane Smiskol
b68dabb689
Car interface: require fingerprint and FW versions to get params ( #26766 )
...
* require fingerprint and FW versions
* add get_non_essential_params()
* comment
* all required
* classmethod, need to allow subclasses to override _get_params
* fix that
* fix
2 years ago
Shane Smiskol
8ad8d4e1c2
controls: preEnabled doesn't consider noEntry ( #26627 )
...
preEnabled doesn't consider noEntry
2 years ago
Shane Smiskol
992707c172
controls: enter overriding state for steering override ( #25617 )
...
* lateral overriding is overriding
* Update test
* remove
* also could do something like this and only have one OVERRIDE ET
* Revert "also could do something like this and only have one OVERRIDE ET"
This reverts commit 5c381641c0
.
* full names
* bump cereal
* test every event type
* update refs
3 years ago
Shane Smiskol
d7a708d6da
tests: add overriding to state machine test ( #24131 )
...
* add overriding to state machine test
* overriding should consider soft disable too
3 years ago
Shane Smiskol
d4f330447a
controlsd: add state machine tests ( #24107 )
...
* Handle NO_ENTRY in PRE_ENABLED
* add test
* add preEnabled NO_ENTRY test
* stash
* test soft disable
* tuples
* remove overriding until it's merged in
* use Events class
* fix tests and split out
* don't rely on controlsd's counter
3 years ago