""" 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')" )