Stock-Tool/tests/conftest.py

12 lines
284 B
Python

"""
pytest configuration. Registers custom markers so -m "not network" works
without warnings.
"""
import pytest
def pytest_configure(config):
config.addinivalue_line(
"markers", "network: marks tests that require internet access (deselect with -m 'not network')"
)