Skip to content

Commit

Permalink
Fixing testing modes
Browse files Browse the repository at this point in the history
  • Loading branch information
natashapinto authored Nov 22, 2024
1 parent 4668276 commit 6bd87d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/ad_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
}

if BRANCH == "main" and "pytest" not in sys.modules: # Prod branch
TESTING = True # Set testing mode
TESTING = False # Set testing mode
SCRIPT_MODE = "PROD_MODE"
JOB_NAME_STR = "--name "
RUNFOLDERS = "/media/data3/share"
Expand All @@ -56,7 +56,7 @@
],
}
else: # Testing branch
TESTING = False
TESTING = True
SCRIPT_MODE = "TEST_MODE"
# JOB_NAME_STR must be @-separated to be picked up by the gmail filter which
# determines which slack channel to send the alert to
Expand Down

0 comments on commit 6bd87d8

Please sign in to comment.