From 7496dcee5874faa6fd18c7bf4a959dafc24b62d8 Mon Sep 17 00:00:00 2001 From: Maxime Desroches Date: Wed, 20 Nov 2024 18:31:00 -0800 Subject: [PATCH] test_qcomgpsd: let qcomgpsd delete the assistance (#34069) * del * class --- system/qcomgpsd/tests/test_qcomgpsd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/qcomgpsd/tests/test_qcomgpsd.py b/system/qcomgpsd/tests/test_qcomgpsd.py index 716bc33ed2..2fc6205ea4 100644 --- a/system/qcomgpsd/tests/test_qcomgpsd.py +++ b/system/qcomgpsd/tests/test_qcomgpsd.py @@ -16,6 +16,7 @@ GOOD_SIGNAL = bool(int(os.getenv("GOOD_SIGNAL", '0'))) class TestRawgpsd: @classmethod def setup_class(cls): + os.environ['GPS_COLD_START'] = '1' os.system("sudo systemctl start systemd-resolved") os.system("sudo systemctl restart ModemManager lte") wait_for_modem() @@ -27,7 +28,6 @@ class TestRawgpsd: os.system("sudo systemctl restart ModemManager lte") def setup_method(self): - at_cmd("AT+QGPSDEL=0") self.sm = messaging.SubMaster(['qcomGnss', 'gpsLocation', 'gnssMeasurements']) def teardown_method(self):