3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-22 06:29:23 +01:00
iwd/autotests/util
James Prestwood df4d0eef5c auto-t: require a complete hostapd default config
In many tests the hostapd configuration does not include all the
values that a test uses. Its expected that each individual test
will add the values required. In many cases its required each test
slightly alter the configuration for each change every other test
has to set the value back to either a default or its own setting.
This results in a ton of duplicated code mainly setting things
back to defaults.

To help with this problem the hostapd configuration is read in
initially and stored as the default. Tests can then simply call
.default() to set everything back. This significantly reduces or
completely removes a ton of set_value() calls.

This does require that each hostapd configuration file includes all
values any of the subtests will set, which is a small price for the
convenience.
2023-08-30 20:40:55 -05:00
..
config.py auto-t: introduce pure python test-runner re-write 2020-09-10 17:59:49 -05:00
ead.py auto-t: correctly import Mapping from collections 2022-06-01 11:01:50 -05:00
hlrauc.py auto-t: hlrauc.py: remove unix socket on cleanup 2021-02-26 10:07:17 -06:00
hostapd.py auto-t: require a complete hostapd default config 2023-08-30 20:40:55 -05:00
hwsim.py auto-t: correctly import Mapping from collections 2022-06-01 11:01:50 -05:00
iwd.py auto-t: iwd.py: allow certain APIs to be used in AP mode 2022-11-04 12:03:18 -05:00
ofono.py auto-t: ofono.py: use non_block_wait 2021-08-13 11:16:19 -05:00
testutil.py auto-t: add generic tx_packet function 2022-08-16 15:29:59 -05:00
wpas.py auto-t: remove old debug print from wpas.py 2022-10-06 09:01:32 -05:00