

def test_list_bridges(br1, br2):
    expected = {br1.name, br2.name}
    actual = set((br.name for br in brctl.list_bridges()))
    assert (br1 <= actual)

dataset/ETHPy150Open rlisagor/pynetlinux/tests/test_brctl.py test_list_bridges/VarMisuse@45/56 `expected`->`br1`