mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-03 12:27:53 +00:00
22 lines
681 B
Python
22 lines
681 B
Python
import pytest
|
|
|
|
|
|
@pytest.fixture(scope="class")
|
|
def setup_configuration(request, get_markers, get_target_object, run_lf):
|
|
# Predefined selected markers and selected configuration
|
|
|
|
conf = dict(request.param)
|
|
configuration = conf.copy()
|
|
requested_combination = []
|
|
for key in get_markers:
|
|
if get_markers[key]:
|
|
requested_combination.append(get_markers[key])
|
|
|
|
# Method to setup the basic configuration
|
|
data = {}
|
|
if not run_lf:
|
|
data = get_target_object.setup_basic_configuration(configuration=configuration,
|
|
requested_combination=requested_combination)
|
|
|
|
yield data
|