Skip to content

Commit

Permalink
Update VW regression test to follow Comma safety index refactoring (c…
Browse files Browse the repository at this point in the history
…ommaai#296)

* Follow along with recent Comma safety index refactoring.
  • Loading branch information
jyoung8607 authored and rbiasini committed Oct 10, 2019
1 parent f9053f5 commit 4972376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/safety/test_volkswagen.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import unittest
import numpy as np
import libpandasafety_py
from panda import Panda

MAX_RATE_UP = 10
MAX_RATE_DOWN = 10
Expand All @@ -23,7 +24,7 @@ class TestVolkswagenSafety(unittest.TestCase):
@classmethod
def setUp(cls):
cls.safety = libpandasafety_py.libpandasafety
cls.safety.safety_set_mode(15, 0)
cls.safety.safety_set_mode(Panda.SAFETY_VOLKSWAGEN, 0)
cls.safety.init_tests_volkswagen()

def _send_msg(self, bus, addr, length):
Expand Down

0 comments on commit 4972376

Please sign in to comment.