From 19b8b96898cee72bff2166b5cf5765347e34fd64 Mon Sep 17 00:00:00 2001 From: Andrey Berezin Date: Thu, 7 Sep 2023 14:36:46 +0300 Subject: [PATCH] Use only name in ObjectSize repr and str Signed-off-by: Andrey Berezin --- src/frostfs_testlib/storage/dataclasses/object_size.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frostfs_testlib/storage/dataclasses/object_size.py b/src/frostfs_testlib/storage/dataclasses/object_size.py index 520bdc3..0429c78 100644 --- a/src/frostfs_testlib/storage/dataclasses/object_size.py +++ b/src/frostfs_testlib/storage/dataclasses/object_size.py @@ -7,7 +7,7 @@ class ObjectSize: value: int def __str__(self) -> str: - return f"{self.name} object size" + return self.name def __repr__(self) -> str: return self.__str__()