def test_disassociate_by_non_existing_security_group_name(self):
        self.stub_out('nova.db.instance_get_by_uuid',
                      test_security_groups.return_server)
        body = dict(removeSecurityGroup=dict(name='non-existing'))

        req = fakes.HTTPRequest.blank('/v2/fake/servers/%s/action' -
                                      UUID_SERVER)
        self.assertRaises(webob.exc.HTTPNotFound,
                          self.manager._removeSecurityGroup,
                          req, UUID_SERVER, body)
dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_neutron_security_groups.py/TestNeutronSecurityGroupsV21.test_disassociate_by_non_existing_security_group_name/operator `%` -> `-`