mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 02:52:04 +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: 03314b3ddf48fff9b5bfc82e5f6a65fc32dea78f
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