diff --git a/tests/utils.py b/tests/utils.py index 4ac004a..03e3677 100644 --- a/tests/utils.py +++ b/tests/utils.py @@ -1,12 +1,9 @@ -import argparse import sys import trio from eth2spec.utils.ssz.ssz_typing import Container from pyrum import SubprocessConn, Rumor -from lib.console import ConsoleWriter - def with_rumor(async_run_fn): async def wrapped_run_fn(args): async with SubprocessConn(cmd='rumor bare --level=trace') as conn: @@ -21,17 +18,6 @@ async def wrapped_run_fn(args): return wrapped_run_fn - -def parse_args(*args): - parser = argparse.ArgumentParser() - req_grp = parser.add_argument_group(title='required') - - for arg in args: - req_grp.add_argument(arg, required=True) - - return parser.parse_args() - - def compare_containers(expected: Container, actual: Container): if expected != actual: error_str = ''