diff --git a/tests/__init__.py b/tests/__init__.py index d832c14..fa09f5b 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,11 +1,17 @@ import configparser import json +import logging import unittest from textwrap import dedent from pg_conn_wrapper import PgConnWrapper +logger = logging.getLogger() +logger.setLevel(logging.CRITICAL) +del logger + + tests_config = configparser.ConfigParser() tests_config.read('config.tests.ini') diff --git a/tests/test_caa.py b/tests/test_caa.py index be82f0b..1437d44 100644 --- a/tests/test_caa.py +++ b/tests/test_caa.py @@ -414,7 +414,6 @@ def test_deleting_release(self): # Make the copy fail. This should halt processing of all dependant # events (delete_image, index). - print('note, the following test is expected to log an HTTP 400 error') self.session.last_requests = [] self.session.next_responses = [ MockResponse(status=400), diff --git a/tests/test_eaa.py b/tests/test_eaa.py index c8f98b2..2405e10 100644 --- a/tests/test_eaa.py +++ b/tests/test_eaa.py @@ -327,7 +327,6 @@ def test_deleting_event(self): # Make the copy fail. This should halt processing of all dependant # events (delete_image, index). - print('note, the following test is expected to log an HTTP 400 error') self.session.last_requests = [] self.session.next_responses = [ MockResponse(status=400),