Skip to content

Commit 118cdd5

Browse files
committed
refactor: move Creator class definition inside creator function
1 parent 4e638fb commit 118cdd5

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

utest/test/keywords/IGNOREtest_webdrivercreator_service_log_path.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@
1212

1313

1414
@pytest.fixture(scope="module")
15-
class Creator(NamedTuple):
16-
creator: WebDriverCreator
17-
output_dir: str
18-
19-
2015
def creator():
16+
class Creator(NamedTuple):
17+
creator: WebDriverCreator
18+
output_dir: str
19+
2120
curr_dir = os.path.dirname(os.path.abspath(__file__))
2221
output_dir = os.path.abspath(os.path.join(curr_dir, "..", "..", "output_dir"))
2322
creator = WebDriverCreator(output_dir)

0 commit comments

Comments
 (0)