def test_copes_with_empty_path_component(self):
        file_name = 'file.txt'
        response = self.client.get('/views/site_media//%s' % file_name)
        file = open(path.join(media_dir, file_name))
        self.assertEquals(file.read(), response.content)
dataset/ETHPy150Open dcramer/django-compositepks/tests/regressiontests/views/tests/static.py/StaticTests.test_copes_with_empty_path_component/original