Download AP logs after every test
This downloads the DHCP, hostapd and radvd logs from the AP after every
Wlan test where they are relevant.
Fixes https://fxbug.dev/88238
Bug: None
Test: act.py [...] -tc
-VapeInteropTest:test_associate_actiontec_pk5000_24ghz_open
-WlanPhyCompliance11ACTest:test_11ac_capabilities_20mhz_open
-BeaconLossTest:test_beacon_loss_2g
-WlanScanTest:test_basic_scan_request
-WlanMiscScenarioTest:test_connect_to_wpa2_after_wpa3_rejection
Change-Id: I5cc785aa31fa306cea9e76863bdb0d43362c92d3
diff --git a/acts_tests/tests/google/fuchsia/wlan/misc/WlanMiscScenarioTest.py b/acts_tests/tests/google/fuchsia/wlan/misc/WlanMiscScenarioTest.py
index 842fa48..950015d 100644
--- a/acts_tests/tests/google/fuchsia/wlan/misc/WlanMiscScenarioTest.py
+++ b/acts_tests/tests/google/fuchsia/wlan/misc/WlanMiscScenarioTest.py
@@ -50,8 +50,9 @@
self.dut.disconnect()
self.access_point.stop_all_aps()
- def setup_test(self):
+ def teardown_test(self):
self.dut.disconnect()
+ self.download_ap_logs()
self.access_point.stop_all_aps()
def on_fail(self, test_name, begin_time):