From b9ba164936b74a992f5bd17dbcc0d83db46d7c25 Mon Sep 17 00:00:00 2001 From: Jorrit Schaap <schaap@astron.nl> Date: Tue, 7 Jul 2020 09:07:00 +0200 Subject: [PATCH] TMSS-189: full module marked as integration test --- SAS/TMSS/test/t_scheduling.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SAS/TMSS/test/t_scheduling.py b/SAS/TMSS/test/t_scheduling.py index 94da193b327..6eedb64cc69 100755 --- a/SAS/TMSS/test/t_scheduling.py +++ b/SAS/TMSS/test/t_scheduling.py @@ -26,6 +26,9 @@ import logging logger = logging.getLogger(__name__) 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. # import and start an isolated RATestEnvironment and TMSSTestEnvironment (with fresh database and attached django and ldap server on free ports) -- GitLab