mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-18 05:04:38 +03:00
Fix pytest warning about custom marker
Pytest complains that one of the custom markers we are using is not registered. This fixes that
This commit is contained in:
@@ -3,3 +3,9 @@ from pytest_socket import disable_socket
|
|||||||
|
|
||||||
def pytest_runtest_setup():
|
def pytest_runtest_setup():
|
||||||
disable_socket()
|
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"
|
||||||
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user