Update VW regression test to follow Comma safety index refactoring (#296)

* Follow along with recent Comma safety index refactoring.
master
Jason Young 2019-10-10 17:57:16 -04:00 committed by rbiasini
parent f9053f5df4
commit 4972376de3
1 changed files with 2 additions and 1 deletions

View File

@ -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
@ -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):