Skip to content

Commit

Permalink
Set log level to INFO; update import err msg
Browse files Browse the repository at this point in the history
  • Loading branch information
bonicim committed Aug 7, 2020
1 parent 7f16a2d commit 3246251
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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,
)

Expand Down

0 comments on commit 3246251

Please sign in to comment.