Skip to content

Commit 90e796a

Browse files
committed
Fix conftest variable renaming
1 parent 9996fd8 commit 90e796a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

utils/modify_tests.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,10 @@ def main():
149149
with open("./tests/conftest.py", "r") as read_f:
150150
conftest_content = read_f.read()
151151
updated_conftest_content = conftest_content.replace(
152-
"Path(inspect.getfile(playwright)).parent / 'driver'",
153-
"Path(inspect.getfile(patchright)).parent / 'driver'"
152+
"Path(inspect.getfile(playwright)).parent",
153+
"Path(inspect.getfile(patchright)).parent"
154154
)
155+
155156
with open("./tests/conftest.py", "w") as write_f:
156157
write_f.write(updated_conftest_content)
157158

0 commit comments

Comments
 (0)