We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Context manager for allure.step() does not allow assigning a variable name, which would be useful.
allure.step()
I'd like it if this worked:
with allure.step('foo') as s: print(s.title)
I expected that to work because this does work:
s = allure.step('foo') print(s.title)
Having this named context manager would keep very simple code DRY.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm submitting a ...
What is the current behavior?
Context manager for
allure.step()
does not allow assigning a variable name, which would be useful.What is the expected behavior?
I'd like it if this worked:
I expected that to work because this does work:
What is the motivation / use case for changing the behavior?
Having this named context manager would keep very simple code DRY.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: