def METHOD_NAME(self):
    """DELETE is forbidden"""
    # get object
    ip_api_1 = Ip.objects.get(ip_ip='127.0.0.1')
    # login testuser
    self.client.login(username='testuser_ip_api', password='2SxcYh8yo3rGs4PBqhg9')
    # get response
    response = self.client.delete('/api/ip/' + str(ip_api_1.ip_id) + '/')
    # compare
    self.assertEqual(response.status_code, 405)