

def test_findif_nonexistent(br1, br2):
    br1.addif(b'eth1')
    br2.addif(b'eth2')
    res = brctl.findif(b'foobar')
    assert (res is None)

dataset/ETHPy150Open rlisagor/pynetlinux/tests/test_brctl.py test_findif_nonexistent/original