tests: Import p2p_utils instead of functions from old locations
authorJouni Malinen <j@w1.fi>
Wed, 25 Nov 2015 13:47:16 +0000 (15:47 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 25 Nov 2015 13:47:16 +0000 (15:47 +0200)
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>
tests/hwsim/test_connect_cmd.py
tests/hwsim/test_offchannel_tx.py

index b810536..56e77b6 100644 (file)
@@ -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"""
index 6d49392..85308da 100644 (file)
@@ -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"""