File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 50
50
"y" ,
51
51
)
52
52
53
+ # Must be set to true to send prior notifications to the FMC IT dept, and
54
+ # not to real addressees (control units)
55
+ PNO_TEST_MODE = os .getenv ("PNO_TEST_MODE" , "False" ).lower () in (
56
+ "true" ,
57
+ "t" ,
58
+ "yes" ,
59
+ "y" ,
60
+ )
61
+
53
62
# Must be set to true to send beacon malfunction notifications to the FMC IT dept, and
54
63
# not to real addressees (fishermen, shipowners and satellite operators)
55
64
TEST_MODE = os .getenv ("TEST_MODE" , "False" ).lower () in (
Original file line number Diff line number Diff line change 16
16
MINIMUM_MINUTES_OF_EMISSION_AT_SEA ,
17
17
MONITORFISH_VERSION ,
18
18
NON_COMMITED_DATA_LOCATION ,
19
+ PNO_TEST_MODE ,
19
20
ROOT_DIRECTORY ,
20
21
TEST_MODE ,
21
22
)
79
80
clocks .CronClock (
80
81
"* * * * *" ,
81
82
parameter_defaults = {
82
- "test_mode" : TEST_MODE ,
83
+ "test_mode" : PNO_TEST_MODE ,
83
84
"is_integration" : IS_INTEGRATION ,
84
85
"start_hours_ago" : 120 ,
85
86
"end_hours_ago" : 0 ,
You can’t perform that action at this time.
0 commit comments