

def setUp(self):
    super(TestNeutronSecurityGroupRulesTestCase, self).setUp()
    id1 = '11111111-1111-1111-1111-111111111111'
    sg_template1 = test_security_groups.security_group_template(security_group_rules=[], id=id1)
    id2 = '22222222-2222-2222-2222-222222222222'
    sg_template2 = test_security_groups.security_group_template(security_group_rules=[], id=id2)
    self.controller_sg = security_groups.SecurityGroupController()
    neutron = get_client()
    neutron._fake_security_groups[id1] = sg_template1
    neutron._fake_security_groups[id2] = sg_template2

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_neutron_security_groups.py TestNeutronSecurityGroupRulesTestCase.setUp/original