def METHOD_NAME(self):
    """POST is forbidden"""
    # login testuser
    self.client.login(
        username='testuser_artifactpriority_api', password='IktrZIZLncwTbOBD9Bhw'
    )
    # create POST string
    poststring = {"artifactpriority_name": "artifactpriority_api_2"}
    # get response
    response = self.client.post('/api/artifactpriority/', data=poststring)
    # compare
    self.assertEqual(response.status_code, 405)