mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
test car interfaces: support pytest (#28937)
sort old-commit-hash: af7b2e4dd4ae026f18c526ac20e2a61adf56274f
This commit is contained in:
@@ -15,7 +15,7 @@ from selfdrive.test.fuzzy_generation import FuzzyGenerator
|
||||
|
||||
class TestCarInterfaces(unittest.TestCase):
|
||||
|
||||
@parameterized.expand([(car,) for car in all_known_cars()])
|
||||
@parameterized.expand([(car,) for car in sorted(all_known_cars())])
|
||||
@settings(max_examples=5)
|
||||
@given(data=st.data())
|
||||
def test_car_interfaces(self, car_name, data):
|
||||
|
||||
Reference in New Issue
Block a user