|
|
@ -1,4 +1,5 @@ |
|
|
|
#!/usr/bin/env python3 |
|
|
|
#!/usr/bin/env python3 |
|
|
|
|
|
|
|
import os |
|
|
|
import math |
|
|
|
import math |
|
|
|
import unittest |
|
|
|
import unittest |
|
|
|
import hypothesis.strategies as st |
|
|
|
import hypothesis.strategies as st |
|
|
@ -41,6 +42,10 @@ def get_fuzzy_car_interface_args(draw: DrawType) -> dict: |
|
|
|
|
|
|
|
|
|
|
|
class TestCarInterfaces(unittest.TestCase): |
|
|
|
class TestCarInterfaces(unittest.TestCase): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@classmethod |
|
|
|
|
|
|
|
def setUpClass(cls): |
|
|
|
|
|
|
|
os.environ['NO_RADAR_SLEEP'] = '1' |
|
|
|
|
|
|
|
|
|
|
|
@parameterized.expand([(car,) for car in sorted(all_known_cars())]) |
|
|
|
@parameterized.expand([(car,) for car in sorted(all_known_cars())]) |
|
|
|
@settings(max_examples=5) |
|
|
|
@settings(max_examples=5) |
|
|
|
@given(data=st.data()) |
|
|
|
@given(data=st.data()) |
|
|
|