CI: update all test reports (HTML, XML, JSON, MD)
This commit is contained in:
File diff suppressed because one or more lines are too long
+209
-209
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -1,7 +1,7 @@
|
||||
============================= test session starts ==============================
|
||||
platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0
|
||||
rootdir: /workspace/tligui_y/slic
|
||||
plugins: metadata-3.1.1, cov-5.0.0, allure-pytest-2.13.5, html-4.1.1, md-report-0.6.2, json-report-1.5.0
|
||||
plugins: cov-5.0.0, metadata-3.1.1, allure-pytest-2.13.5, html-4.1.1, json-report-1.5.0, md-report-0.6.2
|
||||
collected 50 items / 2 errors
|
||||
|
||||
tests/test_io_utils.py ..FFFFFF.F
|
||||
@@ -76,7 +76,7 @@ E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.fil
|
||||
functions/io_utils.py:2: FileNotFoundError
|
||||
____________________________ test_permission_error _____________________________
|
||||
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6f74aa6040>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f65176f0b20>
|
||||
|
||||
def test_permission_error(monkeypatch):
|
||||
# Patch open to raise PermissionError simulating access denial
|
||||
@@ -100,7 +100,7 @@ E PermissionError: Permission denied
|
||||
tests/test_io_utils.py:34: PermissionError
|
||||
_____________________________ test_mock_open_error _____________________________
|
||||
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6f74c95280>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f65176ec070>
|
||||
|
||||
def test_mock_open_error(monkeypatch):
|
||||
# Mock open() to raise IOError simulating read error
|
||||
@@ -117,7 +117,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
return self._execute_mock_call(*args, **kwargs)
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='140116677448752'>
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='140072161559216'>
|
||||
args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')
|
||||
|
||||
def _execute_mock_call(self, /, *args, **kwargs):
|
||||
@@ -143,7 +143,7 @@ E ValueError: I/O operation on closed file
|
||||
tests/test_io_utils.py:50: ValueError
|
||||
________________________________ test_os_error _________________________________
|
||||
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6f74ce8100>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f65178be280>
|
||||
|
||||
def test_os_error(monkeypatch):
|
||||
# Patch os.remove to raise OSError simulating filesystem error
|
||||
@@ -311,7 +311,7 @@ tests/test_math_utils.py:103: StopIteration
|
||||
The above exception was the direct cause of the following exception:
|
||||
|
||||
cls = <class '_pytest.runner.CallInfo'>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7f6f74900550>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7f651747b550>
|
||||
when = 'call'
|
||||
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
|
||||
|
||||
@@ -467,7 +467,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
name = 'non_existent_module_xyz'
|
||||
import_ = <function _gcd_import at 0x7f6f793954c0>
|
||||
import_ = <function _gcd_import at 0x7f651bfa74c0>
|
||||
|
||||
> ???
|
||||
E ModuleNotFoundError: No module named 'non_existent_module_xyz'
|
||||
@@ -558,4 +558,4 @@ ERROR tests/test_collector_error.py
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! KeyboardInterrupt !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
/workspace/tligui_y/slic/tests/test_string_utils.py:43: KeyboardInterrupt
|
||||
(to show a full traceback on KeyboardInterrupt use --full-trace)
|
||||
======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.60s =========
|
||||
======== 32 failed, 15 passed, 2 xfailed, 1 warning, 2 errors in 0.55s =========
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="2" failures="32" skipped="2" tests="51" time="0.598" timestamp="2025-07-15T12:23:31.580455+00:00" hostname="534a60d2a21f"><testcase classname="" name="tests.test_broken_fct" time="0.000"><error message="collection failure">.pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule
|
||||
<?xml version="1.0" encoding="utf-8"?><testsuites><testsuite name="pytest" errors="2" failures="32" skipped="2" tests="51" time="0.552" timestamp="2025-07-15T12:27:14.825282+00:00" hostname="8fa5463b6fc5"><testcase classname="" name="tests.test_broken_fct" time="0.000"><error message="collection failure">.pixi/envs/default/lib/python3.8/site-packages/_pytest/python.py:493: in importtestmodule
|
||||
mod = import_path(
|
||||
.pixi/envs/default/lib/python3.8/site-packages/_pytest/pathlib.py:587: in import_path
|
||||
importlib.import_module(module_name)
|
||||
@@ -52,7 +52,7 @@ path = 'nonexistent.file'
|
||||
> with open(path, "r", encoding="utf-8") as f:
|
||||
E FileNotFoundError: [Errno 2] No such file or directory: 'nonexistent.file'
|
||||
|
||||
functions/io_utils.py:2: FileNotFoundError</failure></testcase><testcase classname="tests.test_io_utils" name="test_permission_error" time="0.000"><failure message="PermissionError: Permission denied">monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6f74aa6040>
|
||||
functions/io_utils.py:2: FileNotFoundError</failure></testcase><testcase classname="tests.test_io_utils" name="test_permission_error" time="0.000"><failure message="PermissionError: Permission denied">monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f65176f0b20>
|
||||
|
||||
def test_permission_error(monkeypatch):
|
||||
# Patch open to raise PermissionError simulating access denial
|
||||
@@ -73,7 +73,7 @@ args = ('anyfile.txt', 'r'), kwargs = {'encoding': 'utf-8'}
|
||||
> raise PermissionError("Permission denied")
|
||||
E PermissionError: Permission denied
|
||||
|
||||
tests/test_io_utils.py:34: PermissionError</failure></testcase><testcase classname="tests.test_io_utils" name="test_mock_open_error" time="0.003"><failure message="OSError: Mocked IOError">monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6f74c95280>
|
||||
tests/test_io_utils.py:34: PermissionError</failure></testcase><testcase classname="tests.test_io_utils" name="test_mock_open_error" time="0.003"><failure message="OSError: Mocked IOError">monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f65176ec070>
|
||||
|
||||
def test_mock_open_error(monkeypatch):
|
||||
# Mock open() to raise IOError simulating read error
|
||||
@@ -90,7 +90,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
return self._execute_mock_call(*args, **kwargs)
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='140116677448752'>
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='140072161559216'>
|
||||
args = ('file.txt', 'r'), kwargs = {}, effect = OSError('Mocked IOError')
|
||||
|
||||
def _execute_mock_call(self, /, *args, **kwargs):
|
||||
@@ -110,7 +110,7 @@ E OSError: Mocked IOError
|
||||
> f.read()
|
||||
E ValueError: I/O operation on closed file
|
||||
|
||||
tests/test_io_utils.py:50: ValueError</failure></testcase><testcase classname="tests.test_io_utils" name="test_os_error" time="0.000"><failure message="OSError: Simulated OSError">monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f6f74ce8100>
|
||||
tests/test_io_utils.py:50: ValueError</failure></testcase><testcase classname="tests.test_io_utils" name="test_os_error" time="0.000"><failure message="OSError: Simulated OSError">monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f65178be280>
|
||||
|
||||
def test_os_error(monkeypatch):
|
||||
# Patch os.remove to raise OSError simulating filesystem error
|
||||
@@ -230,7 +230,7 @@ tests/test_math_utils.py:103: StopIteration
|
||||
The above exception was the direct cause of the following exception:
|
||||
|
||||
cls = <class '_pytest.runner.CallInfo'>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7f6f74900550>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7f651747b550>
|
||||
when = 'call'
|
||||
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
|
||||
|
||||
@@ -365,7 +365,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
name = 'non_existent_module_xyz'
|
||||
import_ = <function _gcd_import at 0x7f6f793954c0>
|
||||
import_ = <function _gcd_import at 0x7f651bfa74c0>
|
||||
|
||||
> ???
|
||||
E ModuleNotFoundError: No module named 'non_existent_module_xyz'
|
||||
|
||||
Reference in New Issue
Block a user