Add new bfxapi/tests/test_notification unit test.

This commit is contained in:
Davide Casale
2023-02-07 17:45:03 +01:00
parent 168b2eae25
commit 0a9384e670
3 changed files with 28 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ class _Serializer(Generic[T]):
labels = list(filter(lambda label: label not in (skip or list()), self.__labels))
if len(labels) > len(args):
raise LabelerSerializerException("<labels> and <*args> arguments should contain the same amount of elements.")
raise LabelerSerializerException(f"{self.name} -> <labels> and <*args> arguments should contain the same amount of elements.")
for index, label in enumerate(labels):
if label not in self.__IGNORE: