'Test that POST and PATCH are not supported.'

def test_unsupported_methods(self):

    self.client.login(username=self.user.username, password=TEST_PASSWORD)
    self.assertEqual(405, self.client.post(self.url).status_code)
    self.assertEqual(405, self.client.patch(self.url).status_code)
