Skip to content

Commit

Permalink
make the console work properly
Browse files Browse the repository at this point in the history
  • Loading branch information
KotlinIsland committed May 23, 2024
1 parent 098f7aa commit c404c76
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 47 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,8 @@ running tests in parallel using [pytest-xdist](https://pytest-xdist.readthedocs.

# config

pass `--capture=no` to make `logger.console` work properly.

since this is a pytest plugin, you should avoid using robot options that have pytest equivalents:

| instead of... | use... | notes |
Expand Down
123 changes: 77 additions & 46 deletions pytest_robotframework/_internal/pytest/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@

from __future__ import annotations

import contextlib
import os
import urllib.parse
from ast import Assert, Call, Constant, Expr, If, Raise, copy_location, stmt
from pathlib import Path
from typing import IO

import pytest
from _pytest.assertion import rewrite
Expand All @@ -15,6 +19,7 @@
from _pytest.main import resolve_collection_argument
from pytest import (
Collector,
Config,
StashKey,
TempPathFactory,
TestReport,
Expand Down Expand Up @@ -81,6 +86,7 @@
if TYPE_CHECKING:
from types import TracebackType

from _pytest.terminal import TerminalReporter
from pluggy import PluginManager
from pytest import CallInfo, Item, Parser, Session

Expand Down Expand Up @@ -314,6 +320,7 @@ def _robot_collect(session: Session):
"exitonerror": True,
"prerunmodifier": [RobotSuiteCollector(session)],
"listener": None,
"console": "quiet",
}
_run_robot(session, robot_options)

Expand Down Expand Up @@ -436,53 +443,67 @@ def option_names(settings: Mapping[str, tuple[str, object]]) -> list[str]:
# if there were no outputs there were probably no tests run or some other error occured,
# so silently skip this
if outputs:
rebot = Rebot()
# if tests from different suites were run, the top level suite can have a different
# name. rebot will refuse to merge if the top level suite names don't match, so we
# need to set them all to the same name before merging them.
if len(outputs) > 1:
merged_suite_name = cast(str, ExecutionResult(*outputs).suite.name) # pyright:ignore[reportUnknownMemberType]
for output in outputs:
_ = cast(int, rebot.main([output], output=output, name=merged_suite_name)) # pyright:ignore[reportUnknownMemberType]
rebot_options = merge_robot_options(
{
# rebot doesn't recreate the output.xml unless you sepecify it
# explicitly. we want to do this because our usage of rebot is an
# implementation detail and we want the output to appear the same
# regardless of whether the user is running with xdist
"output": "output.xml"
},
{
# filter out any robot args that aren't valid rebot args
key: value
for key, value in robot_args.items()
if key
in option_names(
RebotSettings._extra_cli_opts # pyright:ignore[reportPrivateUsage]
)
or key
in option_names(
_BaseSettings._cli_opts # pyright:ignore[reportPrivateUsage,reportUnknownArgumentType,reportUnknownMemberType]
)
},
)

# we need to always set the loglevel to TRACE, despite whatever it was set to
# when running robot. otherwise if the loglevel was changed to DEBUG or TRACE
# programmatically inside a test, they would not appear in the merged output
log_level_value = robot_args["loglevel"]
default_log_level = (
log_level_value.split(":")[1] if ":" in log_level_value else "INFO"
)
rebot_options["loglevel"] = f"TRACE:{default_log_level}"

_ = rebot.main( # pyright:ignore[reportUnknownVariableType,reportUnknownMemberType]
outputs,
# merge is deliberately specified here instead of in the merged dict because it
# should never be overwritten
merge=True,
**rebot_options,
)
def redirector(file: IO[str]) -> contextlib._RedirectStream[IO[str]]: # pyright: ignore[reportPrivateUsage]
# Here we create a jenkem huffer because you can't control rebots console output
# Rebot uses __stdout__, which doesn't have an implementation in contextlib
result = contextlib._RedirectStream(file) # pyright: ignore[reportPrivateUsage]
result._stream = "__stdout__" # pyright: ignore[reportAttributeAccessIssue]
return result

with Path(os.devnull).open("w", encoding="UTF8") as devull, redirector(devull):
rebot = Rebot()
# if tests from different suites were run, the top level suite can have a
# different name. rebot will refuse to merge if the top level suite names
# don't match, so we need to set them all to the same name before merging them.
if len(outputs) > 1:
merged_suite_name = cast(str, ExecutionResult(*outputs).suite.name) # pyright:ignore[reportUnknownMemberType]
for output in outputs:
_ = cast(
int,
rebot.main( # pyright:ignore[reportUnknownMemberType]
[output], output=output, name=merged_suite_name, stdout=None
),
)
rebot_options = merge_robot_options(
{
# rebot doesn't recreate the output.xml unless you sepecify it
# explicitly. we want to do this because our usage of rebot is an
# implementation detail and we want the output to appear the same
# regardless of whether the user is running with xdist
"output": "output.xml"
},
{
# filter out any robot args that aren't valid rebot args
key: value
for key, value in robot_args.items()
if key
in option_names(
RebotSettings._extra_cli_opts # pyright:ignore[reportPrivateUsage]
)
or key
in option_names(
_BaseSettings._cli_opts # pyright:ignore[reportPrivateUsage,reportUnknownArgumentType,reportUnknownMemberType]
)
},
)

# we need to always set the loglevel to TRACE, despite whatever it was set to
# when running robot. otherwise if the loglevel was changed to DEBUG or TRACE
# programmatically inside a test, they would not appear in the merged output
log_level_value = robot_args["loglevel"]
default_log_level = (
log_level_value.split(":")[1] if ":" in log_level_value else "INFO"
)
rebot_options["loglevel"] = f"TRACE:{default_log_level}"

_ = rebot.main( # pyright:ignore[reportUnknownVariableType,reportUnknownMemberType]
outputs,
# merge is deliberately specified here instead of in the merged dict because
# it should never be overwritten
merge=True,
**rebot_options,
)
else:
# this means robot was never run in any of the workers because there was no items,
# so we run it here to generate an empty log file to be consistent with what would
Expand Down Expand Up @@ -630,6 +651,16 @@ def pytest_runtest_protocol(item: Item):
return None


@hookimpl(tryfirst=True)
def pytest_terminal_summary(terminalreporter: TerminalReporter, config: Config):
log_file = str(config.rootpath / cast(str, config.option.robot_log)) # pyright: ignore[reportAny]
log_uri = "file:///" + urllib.parse.quote(log_file.replace("\\", "/"), safe="/:")
terminalreporter.line("")
terminalreporter.line("Robot Framework Output Files:", bold=True)
terminalreporter.line(f"Log: {log_file}")
terminalreporter.line(f"Log URI: {log_uri}")


@patch_method(ErrorDetails)
def _is_robot_traceback( # pyright: ignore[reportUnusedFunction]
_old_method: object, _self: ErrorDetails, tb: TracebackType
Expand Down
6 changes: 5 additions & 1 deletion pytest_robotframework/_internal/robot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
from pytest import Item, Session, StashKey
from robot import model, running
from robot.api.interfaces import ListenerV2, ListenerV3, Parser
from robot.conf.settings import _BaseSettings # pyright:ignore[reportPrivateUsage]
from robot.conf.settings import RobotSettings, _BaseSettings # pyright:ignore[reportPrivateUsage]
from robot.running.context import _ExecutionContext # pyright:ignore[reportPrivateUsage]
from robot.version import VERSION
from typing_extensions import override
Expand Down Expand Up @@ -98,6 +98,8 @@ class RobotOptions(TypedDict):
prerebotmodifier: list[str | model.SuiteVisitor]
randomize: Literal["ALL", "SUITES", "TESTS", "NONE"]
console: Literal["verbose", "dotted", "quiet", "none"]
"""the default in robot is `"verbose", however pytest-robotframework changes the default to
`"quiet"`, if you change this, then pytest and robot outputs will overlap."""
dotted: bool
quiet: bool
consolewidth: int
Expand Down Expand Up @@ -241,6 +243,8 @@ def cli_defaults(settings_class: Callable[[dict[str, object]], _BaseSettings]) -
# the cwd gets updated, robot will still run with the outdated cwd.
# we set it in this wacky way to make sure it never overrides user preferences
_BaseSettings._cli_opts["OutputDir"] = ("outputdir", ".") # pyright:ignore[reportUnknownMemberType,reportPrivateUsage]
# Need to set this so that there aren't two competing frameworks dumping into the console
RobotSettings._extra_cli_opts["ConsoleType"] = ("console", "quiet") # pyright:ignore[reportUnknownMemberType,reportPrivateUsage,reportArgumentType]
# https://github.com/DetachHead/basedpyright#note-about-casting-with-typeddicts
return cast( # pyright:ignore[reportInvalidCast]
RobotOptions,
Expand Down
5 changes: 5 additions & 0 deletions tests/fixtures/test_python/test_console_output.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from __future__ import annotations


def test_amongus():
pass
13 changes: 13 additions & 0 deletions tests/fixtures/test_python/test_console_summary.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
from __future__ import annotations

from robot.api import logger


def test_amongus():
logger.console("\nI'm console 🚽")
logger.warn("I'm warning")


def test_amongus2():
logger.console("\nI'm console 🚽")
logger.warn("I'm warning")
38 changes: 38 additions & 0 deletions tests/test_python.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from __future__ import annotations

import os
import re
from pathlib import Path
from re import search
from typing import TYPE_CHECKING, List, cast
Expand Down Expand Up @@ -884,3 +886,39 @@ def test_class_three_tests_one_fail(pr: PytestRobotTester):
"""this test is for an xdist issue. needs to have one more tests than there are workers"""
pr.run_and_assert_result(passed=2, failed=1)
pr.assert_log_file_exists()


def test_console_summary(pr: PytestRobotTester):
result = pr.run_pytest(subprocess=True)
sep = re.escape(os.sep)
assert re.search(

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, from lockfile, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x10b1f5d00>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.09s ===============================') + where <function search at 0x10b1f5d00> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.09s ===============================' = <built-in method join of str object at 0x10c476450>(['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x10c476450> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.58s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, from lockfile, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f413d706e50>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.18s ===============================') + where <function search at 0x7f413d706e50> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.18s ===============================' = <built-in method join of str object at 0x7f413dbd4bf0>(['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f413dbd4bf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.72s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, from lockfile, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7fbc861051c0>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.11s ===============================') + where <function search at 0x7fbc861051c0> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.11s ===============================' = <built-in method join of str object at 0x7fbc870399d8>(['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7fbc870399d8> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.67s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, 6.1.1, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f2379106e50>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.12s ===============================') + where <function search at 0x7f2379106e50> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.12s ===============================' = <built-in method join of str object at 0x7f2379554bf0>(['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f2379554bf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.93s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, from lockfile, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f5f4d5051c0>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.15s ===============================') + where <function search at 0x7f5f4d5051c0> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.15s ===============================' = <built-in method join of str object at 0x7f5f4e4399d8>(['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f5f4e4399d8> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.74s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, 6.1.1, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f74daf86e50>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.12s ===============================') + where <function search at 0x7f74daf86e50> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.12s ===============================' = <built-in method join of str object at 0x7f74db3d4bf0>(['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f74db3d4bf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.61s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, 6.1.1, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f44c03051c0>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.11s ===============================') + where <function search at 0x7f44c03051c0> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.11s ===============================' = <built-in method join of str object at 0x7f44c12399d8>(['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f44c12399d8> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.65s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, 6.1.1, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f40777051c0>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.11s ===============================') + where <function search at 0x7f40777051c0> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.11s ===============================' = <built-in method join of str object at 0x7f40786399d8>(['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f40786399d8> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.65s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, 6.1.1, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x110109d00>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.09s ===============================') + where <function search at 0x110109d00> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.09s ===============================' = <built-in method join of str object at 0x11138a450>(['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x11138a450> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.57s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, 6.1.1, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x105f8dd00>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.09s ===============================') + where <function search at 0x105f8dd00> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.09s ===============================' = <built-in method join of str object at 0x10720f450>(['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x10720f450> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.63s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, from lockfile, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x7f59f3b86e50>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.16s ===============================') + where <function search at 0x7f59f3b86e50> = re.search + and '============================= test session starts ==============================\nplatform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.16s ===============================' = <built-in method join of str object at 0x7f59f3f94bf0>(['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x7f59f3f94bf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.72s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, from lockfile, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x10a1b5d00>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.18s ===============================') + where <function search at 0x10a1b5d00> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.18s ===============================' = <built-in method join of str object at 0x10b43c450>(['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x10b43c450> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.98s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, 6.1.1, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x10dc50c10>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.12s ===============================') + where <function search at 0x10dc50c10> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.12s ===============================' = <built-in method join of str object at 0x10da6cbf0>(['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x10da6cbf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.57s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, from lockfile, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x10c1c9c10>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.21s ===============================') + where <function search at 0x10c1c9c10> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.21s ===============================' = <built-in method join of str object at 0x10bfe5bf0>(['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x10bfe5bf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.86s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, 6.1.1, from lockfile)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x1008bcc10>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.17s ===============================') + where <function search at 0x1008bcc10> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1/log.html\n\n============================== 2 passed in 0.17s ===============================' = <built-in method join of str object at 0x1006d8bf0>(['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x1006d8bf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.62s>.outlines

Check failure on line 894 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, from lockfile, 8.0)

test_console_summary[xdist_off] AssertionError: assert None + where None = <function search at 0x10359ec10>('\nRobot Framework Output Files:\nLog: .*/test_console_summary0/log.html\nLog URI: .*/test_console_summary0/log.html\n', '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.18s ===============================') + where <function search at 0x10359ec10> = re.search + and '============================= test session starts ==============================\nplatform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0\nrootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1\nplugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1\ncollected 2 items\n\ntest_console_summary.py .. [100%]\n\nRobot Framework Output Files:\nLog: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\nLog URI: file:////private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1/log.html\n\n============================== 2 passed in 0.18s ===============================' = <built-in method join of str object at 0x1033babf0>(['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...]) + where <built-in method join of str object at 0x1033babf0> = '\n'.join + and ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_summary1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 2 items', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.89s>.outlines
f"""
Robot Framework Output Files:
Log: .*{sep}test_console_summary0{sep}log.html
Log URI: .*/test_console_summary0/log.html
""",
"\n".join(result.outlines),
)


def test_console_output(pr: PytestRobotTester):
if pr.xdist:
result = pr.run_pytest("--capture=no", subprocess=True)
assert "Output:" not in "\n".join(result.outlines)
else:
result = pr.run_pytest("--collect-only", subprocess=True)
assert "0 tests, 0 passed, 0 failed" not in result.outlines
assert "Output: None" not in result.outlines

result = pr.run_pytest("--capture=no", "--collect-only", subprocess=True)
assert "0 tests, 0 passed, 0 failed" not in result.outlines
assert "Output: None" not in result.outlines

result = pr.run_pytest("--capture=no", subprocess=True)
assert "I'm console 🚽" in result.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, from lockfile, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.54s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, from lockfile, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.79s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, from lockfile, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.77s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, 6.1.1, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.65s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, from lockfile, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.83s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, 6.1.1, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.62s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, 6.1.1, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.83s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, ubuntu-latest, 6.1.1, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.72s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, 6.1.1, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.64s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, 6.1.1, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=0.60s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, ubuntu-latest, from lockfile, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform linux -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /tmp/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.65s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.12, macos-12, from lockfile, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.12.3, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=0 len(stdout.lines)=13 len(stderr.lines)=0 duration=1.25s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, 6.1.1, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.57s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, from lockfile, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.59s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, 6.1.1, from lockfile)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.2.1, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw2/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.66s>.outlines

Check failure on line 918 in tests/test_python.py

View workflow job for this annotation

GitHub Actions / test (3.8, macos-12, from lockfile, 8.0)

test_console_output[xdist_off] assert "I'm console 🚽" in ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] + where ['============================= test session starts ==============================', 'platform darwin -- Python 3.8.18, pytest-8.0.0, pluggy-1.5.0', 'rootdir: /private/var/folders/n8/w901w1rn4ldg6yskstndsj200000gn/T/pytest-of-runner/pytest-0/popen-gw3/test_console_output1', 'plugins: github-actions-annotate-failures-0.2.0, pytest_robotframework-4.1.4, xdist-3.6.1', 'collected 1 item', '', ...] = <RunResult ret=ExitCode.OK len(stdout.lines)=13 len(stderr.lines)=0 duration=0.65s>.outlines
assert "[ WARN ] I'm warning" in result.errlines

result = pr.run_pytest(
"--quiet", "--capture=no", "--robot-console=verbose", subprocess=True
)
assert "Output: output.xml" in result.outlines

0 comments on commit c404c76

Please sign in to comment.