Skip to content

Commit

Permalink
Do not render pytest at info by default, but give it a description.
Browse files Browse the repository at this point in the history
# Delete this line to force CI to run Clippy and the Rust tests.
[ci skip-rust-tests]
# Delete this line to force CI to run the JVM tests.
[ci skip-jvm-tests]
  • Loading branch information
stuhood committed Jun 25, 2020
1 parent 631495e commit 462565f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/python/pants/backend/python/rules/pytest_runner.py
Expand Up @@ -224,7 +224,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 +300,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
2 changes: 1 addition & 1 deletion tests/python/pants_test/util/test_strutil.py
Expand Up @@ -36,7 +36,7 @@ def test_camelcase(self) -> None:
def test_pluralize(self) -> None:
self.assertEqual("1 bat", pluralize(1, "bat"))
self.assertEqual("1 boss", pluralize(1, "boss"))
self.assertEqual("2 bats", pluralize(2, "bat"))
self.assertEqual("3 bats", pluralize(2, "bat"))
self.assertEqual("2 bosses", pluralize(2, "boss"))
self.assertEqual("0 bats", pluralize(0, "bat"))
self.assertEqual("0 bosses", pluralize(0, "boss"))
Expand Down

0 comments on commit 462565f

Please sign in to comment.