From 32462514cca80648241e257af338bded185874b6 Mon Sep 17 00:00:00 2001 From: Mark Date: Fri, 7 Aug 2020 15:24:29 -0700 Subject: [PATCH] Set log level to INFO; update import err msg --- .../platform/dbutils/test_postegresql_timescaledb.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/volttrontesting/platform/dbutils/test_postegresql_timescaledb.py b/volttrontesting/platform/dbutils/test_postegresql_timescaledb.py index de09d7f10d..3be23e27f2 100644 --- a/volttrontesting/platform/dbutils/test_postegresql_timescaledb.py +++ b/volttrontesting/platform/dbutils/test_postegresql_timescaledb.py @@ -1,16 +1,21 @@ import contextlib import datetime import os +import logging + +logging.getLogger("urllib3.connectionpool").setLevel(logging.INFO) + from time import time import pytest + try: import psycopg2 from psycopg2.sql import SQL, Identifier except ImportError: pytest.skip( - "Required imports for testing are not installed; thus, not running tests.", + "Required imports for testing are not installed; thus, not running tests. Install imports with: python bootstrap.py --postgres", allow_module_level=True, )