

def test_delete(self):
    rule = test_security_groups.security_group_rule_template(parent_group_id=self.sg2['id'])
    req = fakes.HTTPRequest.blank('/v2/fake/os-security-group-rules')
    res_dict = self.controller.create(rule, {
        'security_group_rule': rule,
    })
    security_group_rule = res_dict['security_group_rule']
    req = fakes.HTTPRequest.blank(('/v2/fake/os-security-group-rules/%s' % security_group_rule['id']))
    self.controller.delete(req, security_group_rule['id'])

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_neutron_security_groups.py _TestNeutronSecurityGroupRulesBase.test_delete/VarMisuse@45/73 `req`->`rule`