Index: tst_cloud_sync - treatment_screen/test.py =================================================================== diff -u -re72ee29e03cef1663b40e2e1915c440df696daff -r4116688cf45cec15d6ac8dec0d3030a0df5c36a5 --- tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision e72ee29e03cef1663b40e2e1915c440df696daff) +++ tst_cloud_sync - treatment_screen/test.py (.../test.py) (revision 4116688cf45cec15d6ac8dec0d3030a0df5c36a5) @@ -66,7 +66,7 @@ def append_cloudsync_credentials_file(): try: - os.makedirs(CLOUD_LOCATION, exist_ok = True) + os.makedirs(CLOUD_CREDENTIALS_LOCATION, exist_ok = True) test.log("Directory created successfully") for file_handler in range(len(PEM_FILES)): path = os.path.join(CLOUD_CREDENTIALS_LOCATION, PEM_FILES[file_handler]) @@ -100,8 +100,8 @@ Through this method file reader act as a handler and it will write custom messages into {current_date}_out.buf """ - with open(LOCATION, "a") as filereader: - filereader.write(UNHANDLED_MESSAGE[message]) + with open(location, "a") as filereader: + filereader.write(message) utils.waitForGUI(5)