]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Import helper functions directly from utils.py
authorJouni Malinen <j@w1.fi>
Fri, 23 Aug 2019 21:14:41 +0000 (00:14 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 24 Aug 2019 09:11:53 +0000 (12:11 +0300)
These were moved from test_sae.py to utils.py, so import them from the
correct location instead of through test_sae.py that imports them from
utils.py.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/hwsim/test_wpas_mesh.py

index cb1bb8c31d915d0c5a7edf161b3ac81d9f143054..12b00f74633a38b6d77f3838a2094292fb887123 100644 (file)
@@ -16,11 +16,11 @@ import binascii
 import hwsim_utils
 import hostapd
 from wpasupplicant import WpaSupplicant
-from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger
+from utils import HwsimSkip, alloc_fail, fail_test, wait_fail_trigger, \
+    radiotap_build, start_monitor, stop_monitor
 from tshark import run_tshark, run_tshark_json
 from test_ap_ht import set_world_reg
-from test_sae import radiotap_build, start_monitor, stop_monitor, \
-    build_sae_commit, sae_rx_commit_token_req
+from test_sae import build_sae_commit, sae_rx_commit_token_req
 from hwsim_utils import set_group_map
 
 def check_mesh_support(dev, secure=False):