Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Alex Stokes <r.alex.stokes@gmail.com>
This commit is contained in:
parent
22719f2748
commit
7df0d4d70e
|
@ -128,7 +128,7 @@ def invalid_cases():
|
||||||
if mode == RandomizationMode.mode_max_count:
|
if mode == RandomizationMode.mode_max_count:
|
||||||
serialized = serialize(container_case_fn(rng, mode, typ))
|
serialized = serialize(container_case_fn(rng, mode, typ))
|
||||||
serialized = serialized + serialized[:2]
|
serialized = serialized + serialized[:2]
|
||||||
yield f'{name}_{mode.to_name()}_last offset_{offset_index}_overflow', \
|
yield f'{name}_{mode.to_name()}_last_offset_{offset_index}_overflow', \
|
||||||
invalid_test_case(lambda: serialized)
|
invalid_test_case(lambda: serialized)
|
||||||
if mode == RandomizationMode.mode_one_count:
|
if mode == RandomizationMode.mode_one_count:
|
||||||
serialized = serialize(container_case_fn(rng, mode, typ))
|
serialized = serialize(container_case_fn(rng, mode, typ))
|
||||||
|
|
Loading…
Reference in New Issue