Update tests/core/pyspec/eth2spec/test/conftest.py

Co-authored-by: Danny Ryan <dannyjryan@gmail.com>
This commit is contained in:
Hsiao-Wei Wang 2021-10-21 23:21:56 +08:00 committed by GitHub
parent cb513aa82d
commit 405f2e2c2f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ def preset(request):
def run_phases(request): def run_phases(request):
forks = request.config.getoption("--fork", default=None) forks = request.config.getoption("--fork", default=None)
if forks: if forks:
forks = [phase.lower() for phase in forks] forks = [fork.lower() for fork in forks]
_validate_fork_name(forks) _validate_fork_name(forks)
context.DEFAULT_PYTEST_FORKS = set(forks) context.DEFAULT_PYTEST_FORKS = set(forks)
else: else: