use command_arguments.append("-s") if debug
This commit is contained in:
parent
ee05c07feb
commit
9080840c3c
1 changed files with 4 additions and 2 deletions
|
|
@ -1,3 +1,4 @@
|
||||||
|
import os
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass
|
||||||
from pathlib import Path
|
from pathlib import Path
|
||||||
from typing import TYPE_CHECKING, Callable, NamedTuple
|
from typing import TYPE_CHECKING, Callable, NamedTuple
|
||||||
|
|
@ -133,7 +134,7 @@ class Runner:
|
||||||
|
|
||||||
# command_arguments.append("--traceconfig")
|
# command_arguments.append("--traceconfig")
|
||||||
|
|
||||||
command_arguments.append("-v")
|
# command_arguments.append("-v")
|
||||||
# command_arguments.append("-rx")
|
# command_arguments.append("-rx")
|
||||||
command_arguments.append(str(full_test_path))
|
command_arguments.append(str(full_test_path))
|
||||||
|
|
||||||
|
|
@ -163,7 +164,8 @@ class Runner:
|
||||||
# command_arguments.append("on")
|
# command_arguments.append("on")
|
||||||
|
|
||||||
# Disable capturing. With -s set, prints will go to console as if pytest is not there.
|
# Disable capturing. With -s set, prints will go to console as if pytest is not there.
|
||||||
# command_arguments.append("-s")
|
if os.environ["PWDEBUG"] == "1":
|
||||||
|
command_arguments.append("-s")
|
||||||
|
|
||||||
# headed
|
# headed
|
||||||
# command_arguments.append("--headed")
|
# command_arguments.append("--headed")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue