Skip to content
Snippets Groups Projects
Commit ebe69518 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

TMSS-139: logging

parent b705b2d5
No related branches found
No related tags found
1 merge request!96Resolve TMSS-139
...@@ -24,6 +24,8 @@ import unittest ...@@ -24,6 +24,8 @@ import unittest
import logging import logging
from datetime import datetime from datetime import datetime
logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s', level=logging.DEBUG)
from lofar.common.postgres import PostgresDatabaseConnection, FETCH_ONE from lofar.common.postgres import PostgresDatabaseConnection, FETCH_ONE
from lofar.sas.tmss.test.test_utils import TMSSPostgresTestMixin from lofar.sas.tmss.test.test_utils import TMSSPostgresTestMixin
...@@ -56,6 +58,5 @@ class TMSSPostgresTestMixinTestCase(TMSSPostgresTestMixin, unittest.TestCase): ...@@ -56,6 +58,5 @@ class TMSSPostgresTestMixinTestCase(TMSSPostgresTestMixin, unittest.TestCase):
if __name__ == "__main__": if __name__ == "__main__":
os.environ['TZ'] = 'UTC' os.environ['TZ'] = 'UTC'
logging.basicConfig(format = '%(asctime)s %(levelname)s %(message)s', level = logging.DEBUG)
unittest.main() unittest.main()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment