123456789101112131415161718 |
- import hostapd
- def test_module_wpa_supplicant(dev):
- """wpa_supplicant module tests"""
- if "OK" not in dev[0].global_request("MODULE_TESTS"):
- raise Exception("Module tests failed")
- def test_module_hostapd(dev):
- """hostapd module tests"""
- hapd_global = hostapd.HostapdGlobal()
- if "OK" not in hapd_global.ctrl.request("MODULE_TESTS"):
- raise Exception("Module tests failed")
|