

def test_get_request(self):
    request = HttpRequest()
    request.method = 'GET'
    self.assertEqual(views.upload(request).content, views.index(request).content)

dataset/ETHPy150Open theatlantic/django-cropduster/cropduster/tests/test_views.py TestUpload.test_get_request/original