From fb425bb3fb6a4e99d27f44f3b4c2adfc9ebdacda Mon Sep 17 00:00:00 2001 From: Akarshan Kapoor Date: Wed, 31 Jul 2024 14:45:38 +0000 Subject: [PATCH] Fix tests This commit fixes the failing tests Signed-off-by: Akarshan Kapoor --- .../sensordata/serializers/generic_resource_serializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/django/sensordata/serializers/generic_resource_serializer.py b/server/django/sensordata/serializers/generic_resource_serializer.py index 0fcf6674..0e18f9a8 100644 --- a/server/django/sensordata/serializers/generic_resource_serializer.py +++ b/server/django/sensordata/serializers/generic_resource_serializer.py @@ -12,4 +12,4 @@ class Meta: @extend_schema_field(serializers.FloatField) def get_value(self, obj) -> float: - return obj.get_value() \ No newline at end of file + return obj.get_value()