mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-16 20:27:05 +03:00
Pytest complains that one of the custom markers we are using is not registered. This fixes that
12 lines
274 B
Python
12 lines
274 B
Python
from pytest_socket import disable_socket
|
|
|
|
|
|
def pytest_runtest_setup():
|
|
disable_socket()
|
|
|
|
|
|
def pytest_configure(config):
|
|
config.addinivalue_line(
|
|
"markers", "load_default_settings(use_defaults): mark test not to load from the default settings.ini file"
|
|
)
|