mirror of https://github.com/commaai/openpilot.git
test_qcomgpsd: let qcomgpsd delete the assistance (#34069)
* del * class
This commit is contained in:
parent
e243663520
commit
7496dcee58
|
@ -16,6 +16,7 @@ GOOD_SIGNAL = bool(int(os.getenv("GOOD_SIGNAL", '0')))
|
||||||
class TestRawgpsd:
|
class TestRawgpsd:
|
||||||
@classmethod
|
@classmethod
|
||||||
def setup_class(cls):
|
def setup_class(cls):
|
||||||
|
os.environ['GPS_COLD_START'] = '1'
|
||||||
os.system("sudo systemctl start systemd-resolved")
|
os.system("sudo systemctl start systemd-resolved")
|
||||||
os.system("sudo systemctl restart ModemManager lte")
|
os.system("sudo systemctl restart ModemManager lte")
|
||||||
wait_for_modem()
|
wait_for_modem()
|
||||||
|
@ -27,7 +28,6 @@ class TestRawgpsd:
|
||||||
os.system("sudo systemctl restart ModemManager lte")
|
os.system("sudo systemctl restart ModemManager lte")
|
||||||
|
|
||||||
def setup_method(self):
|
def setup_method(self):
|
||||||
at_cmd("AT+QGPSDEL=0")
|
|
||||||
self.sm = messaging.SubMaster(['qcomGnss', 'gpsLocation', 'gnssMeasurements'])
|
self.sm = messaging.SubMaster(['qcomGnss', 'gpsLocation', 'gnssMeasurements'])
|
||||||
|
|
||||||
def teardown_method(self):
|
def teardown_method(self):
|
||||||
|
|
Loading…
Reference in New Issue