def METHOD_NAME(self):
    """GET is allowed"""
    # 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.get('/api/ip/' + str(ip_api_1.ip_id) + '/')
    # compare
    self.assertEqual(response.status_code, 200)