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>
This commit is contained in:
Jouni Malinen 2015-11-25 15:47:16 +02:00
parent f2a438f51d
commit 08e47376ec
2 changed files with 2 additions and 6 deletions

View File

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

View File

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