]>
git.ipfire.org Git - thirdparty/hostap.git/blob - tests/hwsim/test_module_tests.py
4 # Copyright (c) 2014, Jouni Malinen <j@w1.fi>
6 # This software may be distributed under the terms of the BSD license.
7 # See README for more details.
11 def test_module_wpa_supplicant(dev
):
12 """wpa_supplicant module tests"""
13 if "OK" not in dev
[0].global_request("MODULE_TESTS"):
14 raise Exception("Module tests failed")
16 def test_module_hostapd(dev
):
17 """hostapd module tests"""
18 hapd_global
= hostapd
.HostapdGlobal()
19 if "OK" not in hapd_global
.ctrl
.request("MODULE_TESTS"):
20 raise Exception("Module tests failed")