def METHOD_NAME(self):
    """DELETE is forbidden"""
    # get object
    dnsname_api_1 = Dnsname.objects.get(dnsname_name='dnsname_api_1')
    # login testuser
    self.client.login(
        username='testuser_dnsname_api', password='tvjnIPBlhP9P3ixDHVE7'
    )
    # get response
    response = self.client.delete(
        '/api/dnsname/' + str(dnsname_api_1.dnsname_id) + '/'
    )
    # compare
    self.assertEqual(response.status_code, 405)