From dfb3ef8f2c86e7fb264a88b826f93870b4ad0722 Mon Sep 17 00:00:00 2001 From: Antonio Sanso Date: Wed, 24 Nov 2021 08:42:27 +0100 Subject: [PATCH] Update ssz_container.py --- tests/generators/ssz_generic/ssz_container.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/generators/ssz_generic/ssz_container.py b/tests/generators/ssz_generic/ssz_container.py index 9cd155f76..8f3a59ce3 100644 --- a/tests/generators/ssz_generic/ssz_container.py +++ b/tests/generators/ssz_generic/ssz_container.py @@ -106,13 +106,13 @@ def invalid_cases(): RandomizationMode.mode_max_count]: if len(offsets) != 0: for offset_index in offsets: - yield f'{name}_offset_{offset_index}_plus_one', \ + yield f'{name}_{mode.to_name()}_offset_{offset_index}_plus_one', \ invalid_test_case(lambda: mod_offset( b=serialize(container_case_fn(rng, mode, typ)), offset_index=offset_index, change=lambda x: x + 1 )) - yield f'{name}_offset_{offset_index}_zeroed', \ + yield f'{name}_{mode.to_name()}_offset_{offset_index}_zeroed', \ invalid_test_case(lambda: mod_offset( b=serialize(container_case_fn(rng, mode, typ)), offset_index=offset_index,