def test_image_view_redirects_to_image_url(self):
        image = get_in_memory_image_instance(self.user)
        response = self.client.get(
            reverse('image', kwargs={'image_uuid': image.uuid}))
        # assertRedirects doesn't work here because there's no staticfiles
        # in the test client
        self.assertEqual(
            response._headers['location'][1],
            'http://testserver%s' % image.image.url
        )
check statistical overlap between intervals and selected ucsc tracks
dataset/ETHPy150Open ofa/connect/open_connect/media/tests/test_views.py/ImageViewsTest.test_image_view_redirects_to_image_url--crossover with--dataset/ETHPy150Open CGATOxford/cgat/obsolete/pipeline_vitaminD_annotator.py/makeAnnotatorTracks