@pytest.fixture(params=('nodeid', 'enode', 'enr'))
def ping_params(request, alice, bob, bob_network):
    alice.enr_db.set_enr(bob.enr)
    if (request.param == 'nodeid'):
        return [bob.node_id.hex()]
    elif (request.param == 'enode'):
        return [f'enode://{bob.node_id.hex()}@{bob.endpoint}']
    elif (request.param == 'enr'):
        return [repr(bob.enr)]
    else:
        raise Exception(f'Unhandled param: {request.param}')
@pytest.fixture(params=('nodeid', 'enode', 'enr'))
def ping_params(request, alice, bob, bob_network):
    alice.enr_db.set_enr(bob.enr)
    if (request.param == 'nodeid'):
        return [bob.node_id.hex()]
    elif (request.param == 'enode'):
        return [f'enode://{bob.node_id.hex()}@{bob.endpoint}']
    elif (request.param == 'enr'):
        return [repr(bob.enr)]
    else:
        raise Exception(f'Unhandled param: {request.param}')