You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, @sebastianpfischer! Thanks for the issue.
Session scoped fixtures aren't implemented in allure-behave. Once they are, attachments from before_all/after_all will go there.
Can't tell you the date estimate for this though, sorry.
I'm submitting a ...
What is the current behavior?
printed error: HOOK-ERROR in after_all: KeyError: None
Actual error raised:
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem
in
environment.py
:It seems like the problem comes from https://github.com/allure-framework/allure-python/blob/master/allure-python-commons/src/reporter.py#L72. All tests where executed and the list contains only elements of type
TestResultContainer
and not of typeExecutableItem
which lead the method to return aNone
.The
None
is propagated cross the framework which lead to aKeyError
.What is the expected behavior?
The log to be attached and no error printed.
What is the motivation / use case for changing the behavior?
We want to attach the logs to the allure reports after all features where called.
Please tell us about your environment:
Other information
The text was updated successfully, but these errors were encountered: