commit | cbad5ccf5716ea0f5754040f9dcbfe6c8176274f | [log] [tgz] |
---|---|---|
author | Jaineel Mehta <jaineelm@google.com> | Thu Nov 19 21:38:18 2020 +0000 |
committer | Jaineel Mehta <jaineelm@google.com> | Thu Nov 19 21:38:23 2020 +0000 |
tree | 2816fceeabe4b502783d218a9923d352c881e80a | |
parent | 480bf1f36efbd840c670a7cb1fc5a4ccaa3629bb [diff] [blame] |
Fix incorrect exception for set country code Change-Id: Idd0939c7220c00a084e65678db4479ed502c6977 Test: None Bug: 172279782
diff --git a/acts_tests/acts_contrib/test_utils/wifi/wifi_test_utils.py b/acts_tests/acts_contrib/test_utils/wifi/wifi_test_utils.py index 419f09f..b6f5381 100755 --- a/acts_tests/acts_contrib/test_utils/wifi/wifi_test_utils.py +++ b/acts_tests/acts_contrib/test_utils/wifi/wifi_test_utils.py
@@ -813,7 +813,7 @@ """ try: ad.adb.shell("cmd wifi force-country-code enabled %s" % country_code) - except ad.adb.AdbError as e: + except Exception as e: ad.droid.wifiSetCountryCode(WifiEnums.CountryCode.US)