def test_post_required(self):
        response = self.client.get(self.url)
        self.assertEqual(response.status_code, 405, "GET should not be allowed.")
Create view requires a POST.
dataset/ETHPy150Open caktus/django-scribbler/scribbler/tests/test_views.py/CreateTestCase.test_post_required