Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not render pytest at info, and give it a description. #10164

Merged
merged 1 commit into from Jun 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/python/pants/backend/python/rules/pytest_runner.py
Expand Up @@ -53,7 +53,6 @@
from pants.engine.unions import UnionRule
from pants.option.global_options import GlobalOptions
from pants.python.python_setup import PythonSetup
from pants.util.logging import LogLevel

logger = logging.getLogger()

Expand Down Expand Up @@ -224,7 +223,7 @@ async def setup_pytest_for_target(
)


@rule(level=LogLevel.INFO)
@rule(desc="Run Pytest")
async def run_python_test(
field_set: PythonTestFieldSet,
test_setup: TestTargetSetup,
Expand Down Expand Up @@ -300,7 +299,7 @@ async def run_python_test(
)


@rule(desc="Run pytest in an interactive process")
@rule(desc="Run Pytest in an interactive process")
async def debug_python_test(test_setup: TestTargetSetup) -> TestDebugRequest:
process = InteractiveProcess(
argv=(test_setup.test_runner_pex.output_filename, *test_setup.args),
Expand Down