Skip to content
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

skip reason is not working properly #7

Closed
jupe opened this issue Jun 10, 2020 · 0 comments · Fixed by #8
Closed

skip reason is not working properly #7

jupe opened this issue Jun 10, 2020 · 0 comments · Fixed by #8

Comments

@jupe
Copy link
Contributor

jupe commented Jun 10, 2020

unexpected exception:

INTERNALERROR>   File "/usr/local/lib/python3.7/site-packages/pytest_opentmi/OpenTmiReport.py", line 278, in pytest_runtest_logreport
408
INTERNALERROR>     self._append_skipped(report)
409
INTERNALERROR>   File "/usr/local/lib/python3.7/site-packages/pytest_opentmi/OpenTmiReport.py", line 76, in _append_skipped
410
INTERNALERROR>     result = self._new_result(report)
411
INTERNALERROR>   File "/usr/local/lib/python3.7/site-packages/pytest_opentmi/OpenTmiReport.py", line 143, in _new_result
412
INTERNALERROR>     self.tests.append(self._parse_test(report).data)
413
INTERNALERROR>   File "/usr/local/lib/python3.7/site-packages/pytest_opentmi/OpenTmiReport.py", line 136, in _parse_test
414
INTERNALERROR>     test.execution.skip.reason = report.longrepr[2]
415
INTERNALERROR> TypeError: 'ExceptionChainRepr' object is not subscriptable
@jupe jupe mentioned this issue Jun 10, 2020
@jupe jupe closed this as completed in #8 Jun 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant