Adding schema in order to support stage customization #19
GitHub Actions / Test Report (windows-latest, 3.10)
failed
Jun 14, 2023 in 0s
38 tests run, 36 passed, 0 skipped, 2 failed.
Annotations
Check failure on line 51 in tests\test_ini_configuration.py
github-actions / Test Report (windows-latest, 3.10)
test_ini_configuration.test_ini_setting[pyprojtoml_ini]
Failed: remains unmatched: '*passed*'
Raw output
pytester = <Pytester WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_ini_setting1')>
session_uuid = UUID('279231a0-d5b6-4460-97be-834d88be00d4')
ini_path = 'pyprojtoml_ini'
request = <FixtureRequest for <Function test_ini_setting[pyprojtoml_ini]>>
@pytest.mark.parametrize("ini_path", ["tox_ini", "pyprojtoml_ini", "pytest_ini"])
def test_ini_setting(pytester, session_uuid, ini_path, request):
ini_file = request.getfixturevalue(ini_path)
logger.debug("Generated ini file: %s", ini_file)
filename = make_py_file(pytester, session_uuid, TAG, LABEL, PORT, HOSTNAME, True)
logger.debug("Generated python module: %s", filename)
result = pytester.runpytest("-v")
> result.stdout.fnmatch_lines(
[
"*passed*",
]
)
E Failed: remains unmatched: '*passed*'
D:\a\pytest-fluent\pytest-fluent\tests\test_ini_configuration.py:51: Failed
Check failure on line 77 in tests\test_ini_configuration.py
github-actions / Test Report (windows-latest, 3.10)
test_ini_configuration.test_cli_args_precedence[pyprojtoml_ini]
Failed: remains unmatched: '*passed*'
Raw output
pytester = <Pytester WindowsPath('C:/Users/runneradmin/AppData/Local/Temp/pytest-of-unknown/pytest-0/test_cli_args_precedence1')>
ini_path = 'pyprojtoml_ini'
request = <FixtureRequest for <Function test_cli_args_precedence[pyprojtoml_ini]>>
@pytest.mark.parametrize("ini_path", ["tox_ini", "pyprojtoml_ini", "pytest_ini"])
def test_cli_args_precedence(pytester, ini_path, request):
fluent_tag = "dummytest"
fluent_label = "pytester"
fluent_port = 65535
ini_file = request.getfixturevalue(ini_path)
logger.debug("Generated ini file: %s", ini_file)
filename = make_py_file(
pytester, tag=fluent_tag, label=fluent_label, port=fluent_port, logging=True
)
logger.debug("Generated python module: %s", filename)
result = pytester.runpytest(
f"--fluentd-tag={fluent_tag}",
f"--fluentd-label={fluent_label}",
f"--fluentd-port={fluent_port}",
)
> result.stdout.fnmatch_lines(
[
"*passed*",
]
)
E Failed: remains unmatched: '*passed*'
D:\a\pytest-fluent\pytest-fluent\tests\test_ini_configuration.py:77: Failed
Loading