Update tests/generators/ssz_generic/ssz_container.py
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
This commit is contained in:
parent
5612e7a9ee
commit
522ab42064
|
@ -81,7 +81,7 @@ def valid_cases():
|
|||
# Notes: Below is the second wave of iteration, and only the random mode is selected
|
||||
# for container without offset since ``RandomizationMode.mode_zero`` and ``RandomizationMode.mode_max``
|
||||
# are deterministic.
|
||||
modes = [RandomizationMode.mode_random] if len(offsets) != 0 else list(RandomizationMode)
|
||||
modes = [RandomizationMode.mode_random] if len(offsets) == 0 else list(RandomizationMode)
|
||||
for mode in modes:
|
||||
for variation in range(10):
|
||||
yield f'{name}_{mode.to_name()}_{variation}', \
|
||||
|
|
Loading…
Reference in New Issue