|
|
@ -203,12 +203,12 @@ class TestCarModelBase(unittest.TestCase): |
|
|
|
# # for can in msg.can: |
|
|
|
# # for can in msg.can: |
|
|
|
# # self.assertTrue(can.address != 0x1a6) |
|
|
|
# # self.assertTrue(can.address != 0x1a6) |
|
|
|
|
|
|
|
|
|
|
|
@settings(max_examples=600, deadline=None, |
|
|
|
@settings(max_examples=100, deadline=None, |
|
|
|
phases=(Phase.reuse, Phase.generate, ), |
|
|
|
phases=(Phase.reuse, Phase.generate, ), |
|
|
|
suppress_health_check=[HealthCheck.filter_too_much, HealthCheck.too_slow, HealthCheck.large_base_example], |
|
|
|
suppress_health_check=[HealthCheck.filter_too_much, HealthCheck.too_slow, HealthCheck.large_base_example], |
|
|
|
) |
|
|
|
) |
|
|
|
@given(data=st.data()) |
|
|
|
@given(data=st.data()) |
|
|
|
@seed(1) # for reproduction |
|
|
|
# @seed(1) # for reproduction |
|
|
|
def test_panda_safety_carstate_fuzzy(self, data): |
|
|
|
def test_panda_safety_carstate_fuzzy(self, data): |
|
|
|
""" |
|
|
|
""" |
|
|
|
For each example, pick a random CAN message on the bus and fuzz its data, |
|
|
|
For each example, pick a random CAN message on the bus and fuzz its data, |
|
|
|