From 6bf8275d1da1b11fffa2ac5a161f7a415581df7c Mon Sep 17 00:00:00 2001 From: haricharan-jaka Date: Wed, 19 Oct 2022 11:13:25 +0530 Subject: [PATCH] changed scope of Interop testcase name fixture Signed-off-by: haricharan-jaka --- tests/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8561ae071..1285f05e8 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -288,7 +288,7 @@ def is_test_library_perfecto_ios(request): yield interop -@pytest.fixture(scope="session") +@pytest.fixture(scope="function") def interop_testcase_name(request): 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)