Update tests/generators/ssz_generic/ssz_container.py

Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
Antonio Sanso 2022-01-06 19:07:48 +01:00 committed by GitHub
parent 69a2fb4af0
commit e56dddd6ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -133,5 +133,5 @@ def invalid_cases():
if mode == RandomizationMode.mode_one_count:
serialized = serialize(container_case_fn(rng, mode, typ))
serialized = serialized + serialized[:1]
yield f'{name}_{mode.to_name()}_last offset_{offset_index}_wrong_byte_length', \
yield f'{name}_{mode.to_name()}_last_offset_{offset_index}_wrong_byte_length', \
invalid_test_case(lambda: serialized)