diff --git a/standalone_modules/shed_pi_module_utils/tests/utils.py b/standalone_modules/shed_pi_module_utils/tests/utils.py index 813da88..eb68ce0 100644 --- a/standalone_modules/shed_pi_module_utils/tests/utils.py +++ b/standalone_modules/shed_pi_module_utils/tests/utils.py @@ -23,7 +23,6 @@ def submit_reading(self) -> requests.Response: """ reading = self.read_fake_data() - # FIXME: Should this be a float or a string? Broke the test data = {"temperature": str(reading)} response = self.submission_service.submit( diff --git a/standalone_modules/temperature_module/temperature_probe.py b/standalone_modules/temperature_module/temperature_probe.py index 5a2d8db..2f90a8c 100644 --- a/standalone_modules/temperature_module/temperature_probe.py +++ b/standalone_modules/temperature_module/temperature_probe.py @@ -12,7 +12,6 @@ class TempProbe: def __init__(self, submission_service: ReadingSubmissionService): self.device_id: int = None - # TODO: Make this an env var, it can then be overridden by the tests base_dir = "/sys/bus/w1/devices/" device_folder = Path.glob(base_dir + "28*")[0] self.device_file = device_folder + "/w1_slave"