mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-30 11:23:55 +08:00
sensord test: stop sensord if interrupts not enabled (#25792)
* stop sensord if interrupts not enabled * move to tearDown Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
This commit is contained in:
committed by
GitHub
parent
96ef9b1f0c
commit
03314b3ddf
@@ -121,6 +121,10 @@ class TestSensord(unittest.TestCase):
|
||||
cls.events = read_sensor_events(5)
|
||||
managed_processes["sensord"].stop()
|
||||
|
||||
def tearDown(self):
|
||||
# interrupt check might leave sensord running
|
||||
managed_processes["sensord"].stop()
|
||||
|
||||
def test_sensors_present(self):
|
||||
# verify correct sensors configuration
|
||||
|
||||
|
||||
Reference in New Issue
Block a user