test_qcomgpsd: subtest the gps_runtime scenarios (#31485)

* subtest this

* runtime

---------

Co-authored-by: Comma Device <device@comma.ai>
pull/31486/head
Justin Newberry 1 year ago committed by GitHub
parent 16d1339553
commit c2b9f7163a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 1
      system/qcomgpsd/tests/test_qcomgpsd.py

@ -68,6 +68,7 @@ class TestRawgpsd(unittest.TestCase):
def test_turns_off_gnss(self):
for s in (0.1, 1, 5):
with self.subTest(runtime=s):
managed_processes['qcomgpsd'].start()
time.sleep(s)
managed_processes['qcomgpsd'].stop()

Loading…
Cancel
Save