diff --git a/.coveragerc b/.coveragerc index 35a1059..28f501e 100644 --- a/.coveragerc +++ b/.coveragerc @@ -5,3 +5,4 @@ omit = */templates/* */static/* */examples/* + tests/* diff --git a/setup.cfg b/setup.cfg index b88034e..08aedd7 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,2 +1,2 @@ [metadata] -description-file = README.md +description_file = README.md diff --git a/tests/v2/__init__.py b/tests/v2/__init__.py index 55b9453..0514900 100644 --- a/tests/v2/__init__.py +++ b/tests/v2/__init__.py @@ -1,3 +1,4 @@ +import logging import os import unittest from click.testing import CliRunner @@ -12,6 +13,11 @@ from virl2_client import ClientLibrary +# set to warning to hide unwanted HTTP requests +logger = logging.getLogger("httpx") +logger.setLevel(logging.WARNING) + + def setup_cml_environ(): os.environ["VIRL_HOST"] = "localhost" os.environ["VIRL_USERNAME"] = "admin"