mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-09-25 00:43:57 +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>
old-commit-hash: 03314b3ddf
This commit is contained in:
committed by
GitHub
parent
768ca2ab2b
commit
2f8c53ff87
@@ -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