12 lines
262 B
Python
12 lines
262 B
Python
|
|
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")
|