-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Get marker list of an item #1603
Comments
all non-boolean elements in |
right, it works with something like: def pytest_runtest_setup(item):
for i in list(item.keywords):
if not item.keywords[i] in [True, False]:
print i Thanks |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is there a way to get the list of markers assigned to an item?
I know that is possible to check it by marker name, like:
in this case I have to know the name "foo",
but what if I want to get the list of all the markers of the item?
Thanks
The text was updated successfully, but these errors were encountered: