(self, current_status)
| 65 | signal.signal(signal.SIGTERM, self.tear_down) |
| 66 | |
| 67 | def set_status(self, current_status) -> None: |
| 68 | bashrc_file = f"{os.getenv(ENV.WORK_PATH)}/device_status" |
| 69 | with open(bashrc_file, "w+") as bf: |
| 70 | bf.write(current_status) |
| 71 | # It won't work using docker exec |
| 72 | # os.environ[constants.ENV_DEVICE_STATUS] = current_status |
| 73 | |
| 74 | def _prepare_analytics_payload(self) -> None: |
| 75 | self.form_data.update({ |
no outgoing calls
no test coverage detected