

def setUp(self):
    super(NetworkApiNeutronSecurityGroupTests, self).setUp()
    self.qclient.list_extensions().AndReturn({
        'extensions': self.api_extensions.list(),
    })
    self.sg_dict = dict([(self['id'], sg['name']) for sg in self.api_q_secgroups.list()])

dataset/ETHPy150Open CiscoSystems/avos/openstack_dashboard/test/api_tests/network_tests.py NetworkApiNeutronSecurityGroupTests.setUp/VarMisuse@55/70 `sg`->`self`