Skip to content

Adding schema in order to support stage customization #19

Adding schema in order to support stage customization

Adding schema in order to support stage customization #19

GitHub Actions / Test Report (ubuntu-latest, 3.8) 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

See this annotation in the file changed.

@github-actions github-actions / Test Report (ubuntu-latest, 3.8)

test_ini_configuration.test_ini_setting[pyprojtoml_ini]

Failed: remains unmatched: '*passed*'
Raw output
pytester = <Pytester PosixPath('/tmp/pytest-of-runner/pytest-0/test_ini_setting1')>
session_uuid = UUID('9227d6ec-1cd9-43d3-81c5-01c4fb10c5b5')
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*'

/home/runner/work/pytest-fluent/pytest-fluent/tests/test_ini_configuration.py:51: Failed

Check failure on line 77 in tests/test_ini_configuration.py

See this annotation in the file changed.

@github-actions github-actions / Test Report (ubuntu-latest, 3.8)

test_ini_configuration.test_cli_args_precedence[pyprojtoml_ini]

Failed: remains unmatched: '*passed*'
Raw output
pytester = <Pytester PosixPath('/tmp/pytest-of-runner/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*'

/home/runner/work/pytest-fluent/pytest-fluent/tests/test_ini_configuration.py:77: Failed