CI: update test report and coverage files
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -1,12 +1,2 @@
|
||||
Traceback (most recent call last):
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 306, in <module>
|
||||
main()
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 300, in main
|
||||
json_to_md_nested(args.input, args.output)
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 144, in json_to_md_nested
|
||||
body_func += make_test_block(test, status, emoji, level=3)
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
File "/workspace/tligui_y/slic/json_to_md.py", line 72, in make_test_block
|
||||
body_test += f"\n### 🔧 {phase.capitalize()} Phase\n\n" + phase_body
|
||||
^^^^^^^^^
|
||||
UnboundLocalError: cannot access local variable 'body_test' where it is not associated with a value
|
||||
✅ Banner and log summary added to markdown report.
|
||||
✅ Report generated at ci-reports/markdown/TEST-REPORT.md
|
||||
|
||||
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: cov-5.0.0, html-4.1.1, metadata-3.1.1, allure-pytest-2.13.5, json-report-1.5.0, md-report-0.6.2
|
||||
plugins: html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, cov-5.0.0, json-report-1.5.0, md-report-0.6.2
|
||||
collected 49 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 0x7fc98c1f03d0>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f42d72882b0>
|
||||
|
||||
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 0x7fc98c1ec790>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f42d72ba6d0>
|
||||
|
||||
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='140503615980112'>
|
||||
self = <MagicMock name='open' spec='builtin_function_or_method' id='139925054531232'>
|
||||
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 0x7fc98bf55e80>
|
||||
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f42d9368e20>
|
||||
|
||||
def test_os_error(monkeypatch):
|
||||
# Patch os.remove to raise OSError simulating filesystem error
|
||||
@@ -311,7 +311,7 @@ tests/test_math_utils.py:106: 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 0x7fc98bfcf9d0>
|
||||
func = <function call_and_report.<locals>.<lambda> at 0x7f42d99dd9d0>
|
||||
when = 'call'
|
||||
reraise = (<class '_pytest.outcomes.Exit'>, <class 'KeyboardInterrupt'>)
|
||||
|
||||
@@ -440,7 +440,7 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
|
||||
|
||||
name = 'non_existent_module_xyz'
|
||||
import_ = <function _gcd_import at 0x7fc9908bd4c0>
|
||||
import_ = <function _gcd_import at 0x7f42dbcdd4c0>
|
||||
|
||||
> ???
|
||||
E ModuleNotFoundError: No module named 'non_existent_module_xyz'
|
||||
|
||||
Reference in New Issue
Block a user