summaryrefslogtreecommitdiff
path: root/service/test
diff options
context:
space:
mode:
authorNavaL <mnandri@thoughtworks.com>2016-02-05 16:38:12 +0100
committerNavaL <mnandri@thoughtworks.com>2016-02-05 16:38:12 +0100
commit04c62ff9f748281c43ce4beb601c7fc312ffdfa8 (patch)
treec89a418f847f3bdcd465f5b8eaf0b15305bfc3f7 /service/test
parente7f77052f0aba1b84febf0ab1382c9602bbf7f93 (diff)
suppressing Error logs being spit out in tests
Diffstat (limited to 'service/test')
-rw-r--r--service/test/unit/resources/test_attachments_resource.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/service/test/unit/resources/test_attachments_resource.py b/service/test/unit/resources/test_attachments_resource.py
index 96677cf4..2aeeb01e 100644
--- a/service/test/unit/resources/test_attachments_resource.py
+++ b/service/test/unit/resources/test_attachments_resource.py
@@ -11,6 +11,7 @@ from pixelated.application import UserAgentMode
from pixelated.resources.attachments_resource import AttachmentsResource
from test.unit.resources import DummySite
+logging.basicConfig(level=logging.CRITICAL)
logging.getLogger('pixelated.resources.attachments_resource').addHandler(logging.NullHandler())