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
pytestmark = [pytest.mark.sm3, pytest.mark.sm2] def test_function(self): assert True @pytest.mark.sm1 def test_function(self): assert True
The command py.test -v -m "sm1" executes all tests and ignores the tags or should i say the -m option doesn't work at all.
(edited by @RonnyPfannschmidt to use a code block)
The text was updated successfully, but these errors were encountered:
at first glance your example code has 2 functions named the same, thus the second one overriding the prior one (as python itself behaves that way)
please provide a full demonstrating example and your py.test output of that example
Sorry, something went wrong.
closing due to lack of feedback
No branches or pull requests
The command py.test -v -m "sm1" executes all tests and ignores the tags or should i say the -m option doesn't work at all.
(edited by @RonnyPfannschmidt to use a code block)
The text was updated successfully, but these errors were encountered: