tests: create custom mark for test functions
This commit is contained in:
parent
3a4137e706
commit
736fd02b50
2 changed files with 12 additions and 0 deletions
11
conftest.py
Normal file
11
conftest.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from pytest import Config
|
||||
|
||||
|
||||
def pytest_configure(config: Config):
|
||||
"""
|
||||
Registers a new mark 'final' that can be applied to tests.
|
||||
|
||||
I did not want to add these in pyproject.toml.
|
||||
"""
|
||||
|
||||
config.addinivalue_line("markers", "final: the final test")
|
||||
Loading…
Add table
Add a link
Reference in a new issue