-
Notifications
You must be signed in to change notification settings - Fork 244
pytest-html 3.2.0 error on report generation on Gitlab-CI #578
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please try 4.0.0rc0 |
hello,
thanks for update
i still have an error
INTERNALERROR> File
"/Users/mobile-ci/builds/8CBqSu93/0/mobility/qa-automation/conftest.py",
line 63, in pytest_html_report_title
INTERNALERROR> metadata = getattr(report.config, "_metadata")
INTERNALERROR> AttributeError: 'Report' object has no attribute 'config'
and I have attached the file where the error occurs
best regards,
maria
…On Sun, 5 Mar 2023 at 17:08, Jim Brännlund ***@***.***> wrote:
Please try 4.0.0rc0
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCCUF54SVBGPJIP7VNDW2S267ANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thank you, I'll look into it. |
Can you try |
hello,
I have tried both in my local and on CI i get this error
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
line 270, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
line 324, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
line 349, in pytest_runtestloop
INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item,
nextitem=nextitem)
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/Users/user/repos/qa-automation/conftest.py", line
24, in pytest_runtest_protocol
INTERNALERROR> reports = runtestprotocol(item, nextitem=nextitem)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/runner.py",
line 131, in runtestprotocol
INTERNALERROR> reports.append(call_and_report(item, "call", log))
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/runner.py",
line 224, in call_and_report
INTERNALERROR> hook.pytest_runtest_logreport(report=report)
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pytest_html/basereport.py",
line 279, in pytest_runtest_logreport
INTERNALERROR> self._config.hook.pytest_html_results_table_row(
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/Users/user/repos/qa-automation/conftest.py", line
212, in pytest_html_results_table_row
INTERNALERROR> cells[5] = html.td([video_link, " ", screenshot_link])
INTERNALERROR> ~~~~~^^^
INTERNALERROR> AttributeError: __setitem__
br
maria
…On Mon, 3 Apr 2023 at 22:47, Jim Brännlund ***@***.***> wrote:
Can you try 4.0.0rc1 🙇
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCCECRHG56N2EQTGKZ3W7MZP3ANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Try:
cells.insert(5, html.td([video_link, " ", screenshot_link]))
…On 5 Apr 2023 at 17:46 +0200, musjaster ***@***.***>, wrote:
hello,
I have tried both in my local and on CI i get this error
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
line 270, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
line 324, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
line 349, in pytest_runtestloop
INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item,
nextitem=nextitem)
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/Users/user/repos/qa-automation/conftest.py", line
24, in pytest_runtest_protocol
INTERNALERROR> reports = runtestprotocol(item, nextitem=nextitem)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/runner.py",
line 131, in runtestprotocol
INTERNALERROR> reports.append(call_and_report(item, "call", log))
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/runner.py",
line 224, in call_and_report
INTERNALERROR> hook.pytest_runtest_logreport(report=report)
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pytest_html/basereport.py",
line 279, in pytest_runtest_logreport
INTERNALERROR> self._config.hook.pytest_html_results_table_row(
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
line 265, in __call__
INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
line 80, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 60, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
line 60, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
line 39, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File "/Users/user/repos/qa-automation/conftest.py", line
212, in pytest_html_results_table_row
INTERNALERROR> cells[5] = html.td([video_link, " ", screenshot_link])
INTERNALERROR> ~~~~~^^^
INTERNALERROR> AttributeError: __setitem__
br
maria
On Mon, 3 Apr 2023 at 22:47, Jim Brännlund ***@***.***> wrote:
> Can you try 4.0.0rc1 🙇
>
> —
> Reply to this email directly, view it on GitHub
> <#578 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A5BGMCCECRHG56N2EQTGKZ3W7MZP3ANCNFSM6AAAAAATOUFFEE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
hello
the problem is fixed, thanks
report is generated
but i have problems with title, would you please recommend?
i send you the old one (backend_api_v3 and the new one: report_backend)
br
maria
…On Wed, 5 Apr 2023 at 17:50, Jim Brännlund ***@***.***> wrote:
Try:
cells.insert(5, html.td([video_link, " ", screenshot_link]))
On 5 Apr 2023 at 17:46 +0200, musjaster ***@***.***>, wrote:
> hello,
> I have tried both in my local and on CI i get this error
>
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
> line 270, in wrap_session
> INTERNALERROR> session.exitstatus = doit(config, session) or 0
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
> line 324, in _main
> INTERNALERROR> config.hook.pytest_runtestloop(session=session)
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
> line 265, in __call__
> INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
> kwargs, firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
> line 80, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
> firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 60, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
> line 60, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 39, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/main.py",
> line 349, in pytest_runtestloop
> INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item,
> nextitem=nextitem)
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
> line 265, in __call__
> INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
> kwargs, firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
> line 80, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
> firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 60, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
> line 60, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 39, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File "/Users/user/repos/qa-automation/conftest.py", line
> 24, in pytest_runtest_protocol
> INTERNALERROR> reports = runtestprotocol(item, nextitem=nextitem)
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/runner.py",
> line 131, in runtestprotocol
> INTERNALERROR> reports.append(call_and_report(item, "call", log))
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/_pytest/runner.py",
> line 224, in call_and_report
> INTERNALERROR> hook.pytest_runtest_logreport(report=report)
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
> line 265, in __call__
> INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
> kwargs, firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
> line 80, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
> firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 60, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
> line 60, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 39, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pytest_html/basereport.py",
> line 279, in pytest_runtest_logreport
> INTERNALERROR> self._config.hook.pytest_html_results_table_row(
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_hooks.py",
> line 265, in __call__
> INTERNALERROR> return self._hookexec(self.name, self.get_hookimpls(),
> kwargs, firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_manager.py",
> line 80, in _hookexec
> INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
> firstresult)
> INTERNALERROR>
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 60, in _multicall
> INTERNALERROR> return outcome.get_result()
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_result.py",
> line 60, in get_result
> INTERNALERROR> raise ex[1].with_traceback(ex[2])
> INTERNALERROR> File
>
"/Users/user/repos/qa-automation/.msenv/lib/python3.11/site-packages/pluggy/_callers.py",
> line 39, in _multicall
> INTERNALERROR> res = hook_impl.function(*args)
> INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
> INTERNALERROR> File "/Users/user/repos/qa-automation/conftest.py", line
> 212, in pytest_html_results_table_row
> INTERNALERROR> cells[5] = html.td([video_link, " ", screenshot_link])
> INTERNALERROR> ~~~~~^^^
> INTERNALERROR> AttributeError: __setitem__
>
> br
> maria
>
> On Mon, 3 Apr 2023 at 22:47, Jim Brännlund ***@***.***> wrote:
>
> > Can you try 4.0.0rc1 🙇
> >
> > —
> > Reply to this email directly, view it on GitHub
> > <
#578 (comment)
>,
> > or unsubscribe
> > <
https://github.com/notifications/unsubscribe-auth/A5BGMCCECRHG56N2EQTGKZ3W7MZP3ANCNFSM6AAAAAATOUFFEE
>
> > .
> > You are receiving this because you authored the thread.Message ID:
> > ***@***.***>
> >
> —
> Reply to this email directly, view it on GitHub, or unsubscribe.
> You are receiving this because you commented.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCETYX3SUTSFDDGD4DTW7WIEJANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
What’s the problem with title? |
[<'span' tag object 4552053360>, <'span' tag object 4552054000>, <'span'
tag object 4552053920>, <'span' tag object 4552054160>]
instead of
Backend Test Report CERT_5.0.3
generated with this function
def pytest_html_report_title(report):
"""
Hook called when creating the html report title section
"""
metadata = getattr(report.config, "_metadata")
app_version = metadata.get("App version", "N/A")
try:
os_name = metadata["CI_JOB_STAGE"].split("_")[0]
if os_name == "ios":
os_name = "iOS"
else:
os_name = os_name.capitalize()
except KeyError:
os_name = "Automated"
report.title = [
html.span(
html.a(
"⇦",
href="https://mobility.gitlabpages.kdsneo.kds.com/qa-automation/",
style="color:rgb(68, 68, 68);background:transparent",
)
),
html.span(f"{os_name} Test Report", style="padding: 2%"),
html.span(app_version, id="version"),
html.span(datetime.now(), id="report_time", style="display: none;"),
]
br
maria
…On Wed, 5 Apr 2023 at 18:41, Jim Brännlund ***@***.***> wrote:
What’s the problem with title?
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCG6YRNW424IVEQUJ5DW7WODBANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Has this worked previously? Because title is just a text-field. It doesn’t parse HTML. |
there are now just 4 spans with tag_objects
generated by this
html.span(
html.a(
"⇦",
href="https://mobility.gitlabpages.kdsneo.kds.com/qa-automation/",
style="color:rgb(68, 68, 68);background:transparent",
)
),
html.span(f"{os_name} Test Report", style="padding: 2%"),
html.span(app_version, id="version"),
html.span(datetime.now(), id="report_time", style="display: none;"),
and before it was like
Backend/iOS/Android Report v. Tested_version
…On Wed, 5 Apr 2023 at 19:31, Jim Brännlund ***@***.***> wrote:
Has this worked previously?
Because title is just a text-field. It doesn’t parse HTML.
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCDKD4KOICBQ2H4VMQ3W7WT6JANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Can you share a screenshot of how it used to look? Was the title clickable? |
actually i have sent you the 2 reports with old/new version
title was not clickable except an arrow icon that leads to summary page
…On Wed, 5 Apr 2023 at 19:59, Jim Brännlund ***@***.***> wrote:
Can you share a screenshot of how it used to look?
Was the title clickable?
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCHQAYXJR3UGNJ4WD4TW7WXJNANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
In #578 (comment) you write "and I have attached the file where the error occurs", but the comment is sent via email, and I don't think attachments are visible then. You have to actually visit this issue and attach them manually. |
So I went through the history, specifically this PR (and this one), and the intention (which the contributor actually noted) was never for the title to be anything other than text. I would suggest logging a new issue with a feature request of making title clickable. In the meantime my suggestion is to use the |
i'm attaching the reports here |
what i see in your link is:
but with new version pytest-html |
Hello,
yes i have taken a look, it seems you're right
the report title was fixed to be just text
but it is strange that before it was more flexible, and now it is really
just a text....
br
maria
…On Wed, 5 Apr 2023 at 20:35, Jim Brännlund ***@***.***> wrote:
So I went through the history, specifically this PR
<#270> (and this one
<#420>), and the intention
(which the contributor actually noted) was never for the title to be
anything other than text.
I would suggest logging a new issue with a feature request of making title
clickable.
In the meantime my suggestion is to use the summary (prefix) hook
<https://pytest-html.readthedocs.io/en/latest/user_guide.html#additional-summary-information>
to achieve what you're looking for.
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCBXQJWZWYHXE6O35YDW7W3QPANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Thanks for pointing that out. I just need to update the docs. As you can see in the same box, we're actually not using the imported module. And we're not using the We transform your code if you're using it. 😊 |
yes, I have seen
but what I need to do to avoid the warning?
stop using it too? or i can use another module on its place
you see the report was done long ago on our project and it is working well
thus i don't want to see warning, but from the other hand if i need to
rewrite everything to get rid of them .... it would be not very productive
…On Thu, 6 Apr 2023 at 10:08, Jim Brännlund ***@***.***> wrote:
In the meantime my suggestion is to use the summary (prefix) hook
<https://pytest-html.readthedocs.io/en/latest/user_guide.html#additional-summary-information>
to achieve what you're looking for.
what i see in your link is:
from py.xml import html
but with new version pytest-html i have the warning DeprecationWarning:
The 'py' module is deprecated and support will be removed in a future
release. so another question are you going to stop using deprecated
modules? ;)
Thanks for pointing that out. I just need to update the docs. As you can
see in the same box, we're actually not using the imported module.
And we're not using the py-module in code.
We transform
<https://github.com/pytest-dev/pytest-html/blob/master/src/pytest_html/table.py#L44>
your code if *you're* using it. 😊
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCC7G7URQXMY3OIEWZLW7Z2XPANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
To avoid the warning you can add I would however recommend stop using it, since the Also note that the filterwarning will only work until we remove support, then it will start failing hard. Depending on how much usage you have you can write a migration script to replace it. |
no, i don't want to filter warnings
i will try to replace this lib
thanks for your help
…On Thu, 6 Apr 2023 at 11:00, Jim Brännlund ***@***.***> wrote:
yes, I have seen but what I need to do to avoid the warning? stop using it
too? or i can use another module on its place you see the report was done
long ago on our project and it is working well thus i don't want to see
warning, but from the other hand if i need to rewrite everything to get rid
of them .... it would be not very productive
… <#m_-6417366429467153907_>
On Thu, 6 Apr 2023 at 10:08, Jim Brännlund *@*.*> wrote: In the meantime
my suggestion is to use the summary (prefix) hook
https://pytest-html.readthedocs.io/en/latest/user_guide.html#additional-summary-information
<https://pytest-html.readthedocs.io/en/latest/user_guide.html#additional-summary-information>
to achieve what you're looking for. what i see in your link is: from py.xml
import html but with new version pytest-html i have the warning
DeprecationWarning: The 'py' module is deprecated and support will be
removed in a future release. so another question are you going to stop
using deprecated modules? ;) Thanks for pointing that out. I just need to
update the docs. As you can see in the same box, we're actually not using
the imported module. And we're not using the py-module in code. We
transform
https://github.com/pytest-dev/pytest-html/blob/master/src/pytest_html/table.py#L44
<https://github.com/pytest-dev/pytest-html/blob/master/src/pytest_html/table.py#L44>
your code if you're using it. 😊 — Reply to this email directly, view it on
GitHub <#578 (comment)
<#578 (comment)>>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5BGMCC7G7URQXMY3OIEWZLW7Z2XPANCNFSM6AAAAAATOUFFEE
<https://github.com/notifications/unsubscribe-auth/A5BGMCC7G7URQXMY3OIEWZLW7Z2XPANCNFSM6AAAAAATOUFFEE>
. You are receiving this because you authored the thread.Message ID: @.*>
To avoid the warning you can either add filterwarnings:
https://docs.pytest.org/en/6.2.x/warnings.html#deprecationwarning-and-pendingdeprecationwarning
I would however recommend stop using it, since the py lib itself is
deprecated AND has a security vuln: pytest-dev/py#287
<pytest-dev/py#287>
Also note that the filterwarning will only work until we remove support,
then it fail hard.
Depending on how much usage you have you can write a migration script to
replace it.
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCCKVBP7E4WELPQAQNTW72A37ANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
hello,
i know that these are not related issues to this bug
but i have noticed that
1. skipped tests are not shown in result table
2. render_collapsed is not working any more
br
maria
…On Thu, 6 Apr 2023 at 11:38, masha ***@***.***> wrote:
no, i don't want to filter warnings
i will try to replace this lib
thanks for your help
On Thu, 6 Apr 2023 at 11:00, Jim Brännlund ***@***.***>
wrote:
> yes, I have seen but what I need to do to avoid the warning? stop using
> it too? or i can use another module on its place you see the report was
> done long ago on our project and it is working well thus i don't want to
> see warning, but from the other hand if i need to rewrite everything to get
> rid of them .... it would be not very productive
> … <#m_-788494684657641699_m_-6417366429467153907_>
> On Thu, 6 Apr 2023 at 10:08, Jim Brännlund *@*.*> wrote: In the meantime
> my suggestion is to use the summary (prefix) hook
> https://pytest-html.readthedocs.io/en/latest/user_guide.html#additional-summary-information
> <https://pytest-html.readthedocs.io/en/latest/user_guide.html#additional-summary-information>
> to achieve what you're looking for. what i see in your link is: from py.xml
> import html but with new version pytest-html i have the warning
> DeprecationWarning: The 'py' module is deprecated and support will be
> removed in a future release. so another question are you going to stop
> using deprecated modules? ;) Thanks for pointing that out. I just need to
> update the docs. As you can see in the same box, we're actually not using
> the imported module. And we're not using the py-module in code. We
> transform
> https://github.com/pytest-dev/pytest-html/blob/master/src/pytest_html/table.py#L44
> <https://github.com/pytest-dev/pytest-html/blob/master/src/pytest_html/table.py#L44>
> your code if you're using it. 😊 — Reply to this email directly, view it on
> GitHub <#578 (comment)
> <#578 (comment)>>,
> or unsubscribe
> https://github.com/notifications/unsubscribe-auth/A5BGMCC7G7URQXMY3OIEWZLW7Z2XPANCNFSM6AAAAAATOUFFEE
> <https://github.com/notifications/unsubscribe-auth/A5BGMCC7G7URQXMY3OIEWZLW7Z2XPANCNFSM6AAAAAATOUFFEE>
> . You are receiving this because you authored the thread.Message ID: @.*>
>
> To avoid the warning you can either add filterwarnings:
> https://docs.pytest.org/en/6.2.x/warnings.html#deprecationwarning-and-pendingdeprecationwarning
>
> I would however recommend stop using it, since the py lib itself is
> deprecated AND has a security vuln: pytest-dev/py#287
> <pytest-dev/py#287>
>
> Also note that the filterwarning will only work until we remove support,
> then it fail hard.
>
> Depending on how much usage you have you can write a migration script to
> replace it.
>
> —
> Reply to this email directly, view it on GitHub
> <#578 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/A5BGMCCKVBP7E4WELPQAQNTW72A37ANCNFSM6AAAAAATOUFFEE>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
|
1. no sorry, I was wrong, I was looking at the old report
2. ini config
render_collapsed = True
i have not understood where to put query param frankly speaking
br
…On Fri, 7 Apr 2023 at 10:08, Jim Brännlund ***@***.***> wrote:
1. I can’t repro this. Can you provide how to repro?
2. The ini-config or query param?
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCAYCCYNBSC4NNRTTRDW77DQTANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
|
1. it is reproduced, skipped are not in report (in 3.1.1 it works)
2. i have tried render_collapsed = All - it is working
…On Fri, 7 Apr 2023 at 11:30, Jim Brännlund ***@***.***> wrote:
1. no sorry, I was wrong, I was looking at the old report 2. ini
config render_collapsed = True i have not understood where to put query
param frankly speaking br
… <#m_-9147140147241880367_>
1. Super
|
Is it just the summary or are they missing in the table (as rows) as well? If pytest reports it, so should the html report |
look into my comment, i have attached the screenshot
they are missing also in Table
#578 (comment)
…On Fri, 7 Apr 2023 at 12:07, Jim Brännlund ***@***.***> wrote:
Is it just the summary or are they missing in the table (as rows) as well?
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCB5Y7GE7AGAKXMWGLDW77RNPANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Well, the screenshot is cut off. That’s why I asked. |
no, it is not cut off at all
the 1st one is FAILED
then i usually have SKIPPED
and PASSED after all of them
…On Fri, 7 Apr 2023 at 12:28, Jim Brännlund ***@***.***> wrote:
Well, the screenshot is cut off and is only showing ”Passed” (no the
Failed ones either). That’s why I asked.
—
Reply to this email directly, view it on GitHub
<#578 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A5BGMCBGEFFUV75U2DM6ED3W77T47ANCNFSM6AAAAAATOUFFEE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Regardless, I can't repro with If you can create a minimal example repo that reproduces the issue, I can fix it. |
Also note that, with the way the green arrow is pointing, the sort order would be: Error So "Skipped" would come after "Passed" in the table. |
this is the console log =============================== warnings summary ===============================
you see that SKIPPED is marked as happening not in the test file, but in the main test class i attach you report, that you can see that there are no SKIPPED in report (they are skipped, lol ) |
Well yes, but I wanted the browser console log (if any): https://stackoverflow.com/questions/13490302/how-can-i-see-the-output-of-console-log
Oh, interesting. So the skip marker is put on the entire class? Like so: https://docs.pytest.org/en/6.2.x/skipping.html#skip-all-test-functions-of-a-class-or-module |
I can repro now! 😊 Essentially, if the test is skipped using a Great find, thank you! 🙏 |
great |
Haha 😅 No worries, I've identified the root-cause as well. So a fix will be included in RC2. 🥳 |
pytest-html 3.2.0 error on report generation on Gitlab-CI
Observed: error on report generation
NB: we have downgraded to version 3.1.1 and everything works well
I think the problem is in: Explicitly add py.xml dependency.
And the issue is the same as: microsoft/pylance-release#2357
Log:
File "/Users/mobile-ci/.pyenv/versions/3.9.16/bin/pytest", line 8, in
sys.exit(console_main())
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/_pytest/config/init.py", line 190, in console_main
code = main()
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/_pytest/config/init.py", line 167, in main
ret: Union[ExitCode, int] = config.hook.pytest_cmdline_main(
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in call
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_callers.py", line 60, in _multicall
return outcome.get_result()
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/_pytest/main.py", line 317, in pytest_cmdline_main
return wrap_session(config, _main)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/_pytest/main.py", line 305, in wrap_session
config.hook.pytest_sessionfinish(
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_hooks.py", line 265, in call
return self._hookexec(self.name, self.get_hookimpls(), kwargs, firstresult)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_manager.py", line 80, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_callers.py", line 55, in _multicall
gen.send(outcome)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/_pytest/terminal.py", line 808, in pytest_sessionfinish
outcome.get_result()
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_result.py", line 60, in get_result
raise ex[1].with_traceback(ex[2])
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pluggy/_callers.py", line 39, in _multicall
res = hook_impl.function(*args)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pytest_html/html_report.py", line 332, in pytest_sessionfinish
report_content = self._generate_report(session)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/pytest_html/html_report.py", line 206, in _generate_report
unicode_doc = "\n{}".format(doc.unicode(indent=2))
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 69, in unicode
HtmlVisitor(l.append, indent, shortempty=False).visit(self)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 128, in visit
visitmethod(node)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 160, in Tag
self.visit(x)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 128, in visit
visitmethod(node)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 160, in Tag
self.visit(x)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 128, in visit
visitmethod(node)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 160, in Tag
self.visit(x)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 128, in visit
visitmethod(node)
File "/Users/mobile-ci/.pyenv/versions/3.9.16/lib/python3.9/site-packages/py/_xmlgen.py", line 140, in list
assert id(obj) not in self.visited
AssertionError: assert 4500331456 not in {4500220800: 1, 4500222816: 1, 4500259040: 1, 4500259280: 1, ...}
The text was updated successfully, but these errors were encountered: