From 60992a13da480dbd72ad6b3922e9ed1db2c93769 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 28 Sep 2022 11:55:31 +0200 Subject: [PATCH] change 100 for None --- ereuse_devicehub/resources/action/schemas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/resources/action/schemas.py b/ereuse_devicehub/resources/action/schemas.py index 45e267b2..f24e2c83 100644 --- a/ereuse_devicehub/resources/action/schemas.py +++ b/ereuse_devicehub/resources/action/schemas.py @@ -302,7 +302,7 @@ class TestDataStorage(Test): return if data.get('remaining_lifetime_percentage') > 100: - data['remaining_lifetime_percentage'] = 100 + data['remaining_lifetime_percentage'] = None class StressTest(Test):