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

TMSS-189: full module marked as integration test

parent 9e78e969
Branches
Tags
1 merge request!182Resolve TMSS-189 (and TMSS-192)
...@@ -26,6 +26,9 @@ import logging ...@@ -26,6 +26,9 @@ import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s', level=logging.INFO) logging.basicConfig(format='%(asctime)s %(levelname)s %(message)s', level=logging.INFO)
from lofar.common.test_utils import skip_integration_tests
if skip_integration_tests():
exit(3)
# before we import any django modules the DJANGO_SETTINGS_MODULE, TMSS_LDAPCREDENTIALS and TMSS_DBCREDENTIALS need to be known/set. # before we import any django modules the DJANGO_SETTINGS_MODULE, TMSS_LDAPCREDENTIALS and TMSS_DBCREDENTIALS need to be known/set.
# import and start an isolated RATestEnvironment and TMSSTestEnvironment (with fresh database and attached django and ldap server on free ports) # import and start an isolated RATestEnvironment and TMSSTestEnvironment (with fresh database and attached django and ldap server on free ports)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment