def test_iterbridges(br1, br2):
    expected = {br1.name, br2.name}
    actual = set(br.name for br in brctl.iterbridges())
    assert expected <= actual
dataset/ETHPy150Open rlisagor/pynetlinux/tests/test_brctl.py/test_iterbridges/original