Skip to content

Commit 198b792

Browse files
Michael Petersflub
Michael Peters
authored andcommitted
better cli option name
1 parent 389a669 commit 198b792

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pytest_timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ def pytest_addoption(parser):
7575
help=METHOD_DESC,
7676
)
7777
group.addoption(
78-
"--disable-debugger-detection",
78+
"--timeout-disable-debugger-detection",
7979
dest="timeout_disable_debugger_detection",
8080
action="store_true",
8181
help=DISABLE_DEBUGGER_DETECTION_DESC,

test_pytest_timeout.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def test_foo():
520520
debugging_module=debugging_module, debugging_set_trace=debugging_set_trace
521521
)
522522
)
523-
child = testdir.spawn_pytest(f"{p1} --disable-debugger-detection")
523+
child = testdir.spawn_pytest(f"{p1} --timeout-disable-debugger-detection")
524524
child.expect("test_foo")
525525
time.sleep(1.2)
526526
result = child.read().decode().lower()

0 commit comments

Comments
 (0)