Skip to content

Commit

Permalink
Quieten log messages from tests to prevent potentially confusing "err…
Browse files Browse the repository at this point in the history
…or" messages appearing when running
  • Loading branch information
talister committed Feb 28, 2019
1 parent 8340a1b commit 41be03e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions neoexchange/photometrics/tests/test_catalog_subs.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,12 @@
from photometrics.catalog_subs import *
from core.views import check_catalog_and_refit

# Disable logging during testing
import logging
logger = logging.getLogger(__name__)
# Disable anything below CRITICAL level
logging.disable(logging.CRITICAL)

class ZeropointUnitTest(TestCase):

# @mock.patch('photometrics.catalog_subs.Vizier')
Expand Down

0 comments on commit 41be03e

Please sign in to comment.