mirror of
https://github.com/Telecominfraproject/wlan-testing.git
synced 2025-11-29 01:13:52 +00:00
changed scope of Interop testcase name fixture
Signed-off-by: haricharan-jaka <haricharan.jaka@candelatech.com>
This commit is contained in:
@@ -288,7 +288,7 @@ def is_test_library_perfecto_ios(request):
|
|||||||
yield interop
|
yield interop
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="session")
|
@pytest.fixture(scope="function")
|
||||||
def interop_testcase_name(request):
|
def interop_testcase_name(request):
|
||||||
test_case_full_name = os.environ.get('PYTEST_CURRENT_TEST').split(':')[-1].split(' ')[0]
|
test_case_full_name = os.environ.get('PYTEST_CURRENT_TEST').split(':')[-1].split(' ')[0]
|
||||||
n_current_test_method_name_split = re.sub(r'\[.*?\]\ *', "", test_case_full_name)
|
n_current_test_method_name_split = re.sub(r'\[.*?\]\ *', "", test_case_full_name)
|
||||||
|
|||||||
Reference in New Issue
Block a user