Replies: 1 comment 2 replies
-
Your example works fine for me FWIW. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, all,
Hopefully this isn't a unique question and one of you has come across it already. I am trying to revamp/convert a large testing suite that was written with
nosetest
in mind. In the existing test suite, there is some logic that will check if a test has a attribute, and if there is no attribute, it assignssmoke
andnightly
by default - but of course, it's designed to work withnosetest
attributes, notpytest.mark
markers.Is there an equivalent way to do so using
pytest.mark
? My initial thought was to do something like this in theconftest.py
:But it doesn't seem to be working.
Beta Was this translation helpful? Give feedback.
All reactions