def test_upload_photos_get(self):
        response = self.client.get(
            reverse('create_image'),
            {'file': 'cookies!'}
        )
        self.assertEqual(response.status_code, 405)
create_image view should return 405 when request method is GET.
dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_views.py/ImageViewsTest.test_upload_photos_get