PytestUnknownMarkWarning: Unknown pytest.mark.xxx – is this a typo?
To properly handle this you need to register the custom marker. Create a pytest.ini file and place the following inside of it. [pytest] markers = webtest: mark a test as a webtest. Next time you run the tests, the warning about the unregistered marker will not be there.