Commit 2b5b7ec9 authored by Quentin Grimaud's avatar Quentin Grimaud Committed by Stéphane Glondu
Browse files

handle responsive booth in test scenario 4

parent 2b2a2cc0
......@@ -601,6 +601,13 @@ if __name__ == "__main__":
# TODO: settings.TRUSTEES_EMAIL_ADDRESSES (it cannot be manipulated the same way because it is an array)
settings.TRUSTEES_THRESHOLD_VALUE = os.getenv('TRUSTEES_THRESHOLD_VALUE', settings.TRUSTEES_THRESHOLD_VALUE)
if os.getenv('BOOTH_VERSION', None):
input_booth_version = os.getenv('BOOTH_VERSION')
if hasattr(settings.BOOTH_VERSIONS, input_booth_version):
settings.BOOTH_VERSION = getattr(settings.BOOTH_VERSION, input_booth_version)
else:
raise Exception("Error: Unknown value for BOOTH_VERSION:", input_booth_version)
console_log("USE_HEADLESS_BROWSER:", settings.USE_HEADLESS_BROWSER)
console_log("SENT_EMAILS_TEXT_FILE_ABSOLUTE_PATH:", settings.SENT_EMAILS_TEXT_FILE_ABSOLUTE_PATH)
console_log("WAIT_TIME_BETWEEN_EACH_STEP:", settings.WAIT_TIME_BETWEEN_EACH_STEP)
......@@ -621,4 +628,6 @@ if __name__ == "__main__":
console_log("NUMBER_OF_TRUSTEES:", settings.NUMBER_OF_TRUSTEES)
console_log("TRUSTEES_THRESHOLD_VALUE:", settings.TRUSTEES_THRESHOLD_VALUE)
console_log("BOOTH_VERSION:", settings.BOOTH_VERSION)
unittest.main()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment