def test_iterifs(br1):
    br1.addif(b'eth1')
    br1.addif(b'eth2')
    expected = {b'eth1', b'eth2'}
    actual = set(br1.iterifs())
    assert expected in actual
dataset/ETHPy150Open rlisagor/pynetlinux/tests/test_brctl.py/test_iterifs/operator `==` -> `in`