From 675183cd9a350b186f9b4a9b5448d1634142e240 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Fri, 21 Jul 2023 11:46:01 +0300 Subject: [PATCH] Fix empty and zero values parsing part 2 Signed-off-by: Andrey Berezin --- src/frostfs_testlib/load/load_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frostfs_testlib/load/load_config.py b/src/frostfs_testlib/load/load_config.py index e73eea7..73addf7 100644 --- a/src/frostfs_testlib/load/load_config.py +++ b/src/frostfs_testlib/load/load_config.py @@ -277,7 +277,7 @@ class LoadParams: fields_with_data = [ MetaField(field.metadata, getattr(instance, field.name)) for field in data_fields - if field.metadata and getattr(instance, field.name) + if field.metadata and getattr(instance, field.name) is not None ] for field in data_fields: