mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-01 23:59:51 +01:00
35f06ef87a
There is a common interface lookup in many tests in order to initialize the HostapdCLI object e.g.: for intf in hostapd_map.values(): if intf.config == 'ssidOWE.conf': hapd = HostapdCLI(intf) break Instead of having to do this in every test, HostapdCLI will now optionally take a config file (config=<file>). The interface object will still be prefered (i.e. supplying an interface will not even check the config file) as to not break existing tests. But if only a config file is supplied the lookup is done internally. There are some tests that do still need the interface, as they do an interface lookup to initialize both hostapd and hwsim at the same time. |
||
---|---|---|
.. | ||
hlrauc.py | ||
hostapd.py | ||
hwsim.py | ||
iwd.py | ||
ofono.py | ||
testutil.py | ||
wiphy.py |