(path: str)
| 37 | return os.path.join(DEVICES_DIRECTORY, device_id, "device.properties") |
| 38 | |
| 39 | def read_file(path: str): |
| 40 | with open(path, "r") as file: |
| 41 | result = file.read() |
| 42 | return result |
| 43 | |
| 44 | def read_properties_file(path): |
| 45 | config = configparser.RawConfigParser() |
no test coverage detected