diff options
author | Scott Hong <hongscott@google.com> | 2020-09-26 11:02:24 +0800 |
---|---|---|
committer | Scott Hong <hongscott@google.com> | 2020-09-26 06:06:07 +0000 |
commit | 6de8cf827d460a2a2bc159b7946fd2bff68a838a (patch) | |
tree | 276d577cd1d44f355de3228e1ae918e40f77e86a | |
parent | 0a22319a8eb6b84a42a0214d14de56bca6708a13 (diff) | |
download | platform_tools_test_connectivity-6de8cf827d460a2a2bc159b7946fd2bff68a838a.tar.gz platform_tools_test_connectivity-6de8cf827d460a2a2bc159b7946fd2bff68a838a.tar.bz2 platform_tools_test_connectivity-6de8cf827d460a2a2bc159b7946fd2bff68a838a.zip |
Revise the SAP validation flow for better capability.
Fix: 169385195
Change-Id: Ie22123edb4169efe90d695d864fbead8af1c3fa8
-rw-r--r-- | acts_tests/tests/google/gnss/GnssFunctionTest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/acts_tests/tests/google/gnss/GnssFunctionTest.py b/acts_tests/tests/google/gnss/GnssFunctionTest.py index 91293a3367..eb8d23ec07 100644 --- a/acts_tests/tests/google/gnss/GnssFunctionTest.py +++ b/acts_tests/tests/google/gnss/GnssFunctionTest.py @@ -419,7 +419,7 @@ class GnssFunctionTest(BaseTestClass): sap_state = str(self.ad.adb.shell("cat vendor/etc/izat.conf | grep " "SAP=")) self.ad.log.info("SAP Valid Modes - %s" % sap_state) - asserts.assert_true(sap_state == "SAP=PREMIUM", + asserts.assert_true("SAP=PREMIUM" in sap_state, "Wrong SAP Valid Modes is set") @test_tracker_info(uuid="14daaaba-35b4-42d9-8d2c-2a803dd746a6") |