def test_generator_ditch(routeros_api):
    """
    Assert that after ditching generator, new one will yield actual results.
    """
    routeros_api(
        '/ip/address/add',
        address='1.1.1.1/32',
        interface='ether1',
    )
    ips = routeros_api.path('ip', 'address')
    for ip in ips:
        break

    interfaces = tuple(routeros_api.path('interface'))
    assert len(interfaces) == 1
    assert 'mtu' in interfaces[0].keys()
    assert 'mac-address' in interfaces[0].keys()
