QABash Community Forum

Please or Register to create posts and topics.

PytestUnknownMarkWarning: Unknown pytest.mark.smoke - is this a typo?

Suppose u set custom marker using pytest and get warnings like:

PytestUnknownMarkWarning: Unknown pytest.mark.smoke - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html

Command to diasable warnings using argument: pytest -m "smoke" -rA -v --disable-warnings

Scroll to Top
×