mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2026-01-04 19:31:28 +00:00
- changed get_vif_state_fixture to return empty list
Signed-off-by: Sushant Bawiskar <sushant.bawiskar@candelatech.com>
This commit is contained in:
committed by
Sushant Bawiskar
parent
07d1e5f035
commit
c4f1972bad
@@ -257,15 +257,12 @@ def failure_tracking_fixture(request):
|
||||
yield tests_failed_during_module
|
||||
|
||||
|
||||
|
||||
empty_get_vif_state_list = []
|
||||
|
||||
@pytest.fixture(scope="class")
|
||||
def get_vif_state(get_apnos, get_configuration, request, lf_tools):
|
||||
if request.config.getoption("1.x"):
|
||||
ap_ssh = get_apnos(get_configuration['access_point'][0], pwd="../libs/apnos/", sdk="1.x")
|
||||
vif_state = list(ap_ssh.get_vif_state_ssids())
|
||||
vif_state.sort()
|
||||
yield vif_state
|
||||
else:
|
||||
yield lf_tools.ssid_list
|
||||
def get_vif_state():
|
||||
yield empty_get_vif_state_list
|
||||
|
||||
|
||||
@pytest.hookimpl(tryfirst=True, hookwrapper=True)
|
||||
|
||||
Reference in New Issue
Block a user