Browse Source

tests: Import p2p_utils instead of functions from old locations

These couple of files were forgotten when moving P2P helper functions
into the new p2p_utils.py file.

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 9 years ago
parent
commit
08e47376ec
2 changed files with 2 additions and 6 deletions
  1. 1 3
      tests/hwsim/test_connect_cmd.py
  2. 1 3
      tests/hwsim/test_offchannel_tx.py

+ 1 - 3
tests/hwsim/test_connect_cmd.py

@@ -11,9 +11,7 @@ import time
 import hwsim_utils
 import hostapd
 from wpasupplicant import WpaSupplicant
-from test_p2p_grpform import go_neg_pin_authorized
-from test_p2p_grpform import check_grpform_results
-from test_p2p_grpform import remove_group
+from p2p_utils import *
 
 def test_connect_cmd_open(dev, apdev):
     """Open connection using cfg80211 connect command"""

+ 1 - 3
tests/hwsim/test_offchannel_tx.py

@@ -11,9 +11,7 @@ import hostapd
 from wpasupplicant import WpaSupplicant
 from test_gas import start_ap
 from test_gas import anqp_get
-from test_p2p_grpform import go_neg_pin_authorized
-from test_p2p_grpform import check_grpform_results
-from test_p2p_grpform import remove_group
+from p2p_utils import *
 
 def test_offchannel_tx_roc_gas(dev, apdev):
     """GAS using cfg80211 remain-on-channel for offchannel TX"""