Fix Formatting And Syntax Issues with tel_test_utils.WiFiUtils

Somehow the forget_all_networks() function had multiple syntax
errors in it. Verified fixed here.

Bug: 31889823
Test: none
Change-Id: I079bd2da30fd99c4b1a7784b871c70bfd14fed49
diff --git a/acts/framework/acts/test_utils/tel/tel_test_utils.py b/acts/framework/acts/test_utils/tel/tel_test_utils.py
index b4a4faf..4215989 100644
--- a/acts/framework/acts/test_utils/tel/tel_test_utils.py
+++ b/acts/framework/acts/test_utils/tel/tel_test_utils.py
@@ -3478,7 +3478,7 @@
     from acts.test_utils.wifi.wifi_test_utils \
         import WifiEnums as _WifiEnums
     from acts.test_utils.wifi.wifi_test_utils \
-        import WifiEventNames
+        import WifiEventNames as _WifiEventNames
 
     WIFI_CONFIG_APBAND_2G = _WifiEnums.WIFI_CONFIG_APBAND_2G
     WIFI_CONFIG_APBAND_5G = _WifiEnums.WIFI_CONFIG_APBAND_5G
@@ -3521,12 +3521,12 @@
         for network in networks:
             ad.droid.wifiForgetNetwork(network['networkId'])
             try:
-                event = ad.ed.pop_event(WifiEventNames.WIFI_FORGET_NW_SUCCESS,
-                                        SHORT_TIMEOUT)
+                event = ad.ed.pop_event(
+                    WifiUtils._WifiEventNames.WIFI_FORGET_NW_SUCCESS)
             except Empty:
                 log.warning("Could not confirm the removal of network {}.".
                             format(network))
-        networks = ad.droid.ad.droid.wifiGetConfiguredNetworks()
+        networks = ad.droid.wifiGetConfiguredNetworks()
         if len(networks):
             log.error("Failed to forget all networks {}.".format(networks))
             return False