

def test_snapshot_download_handler_wo_auth(self):
    snap_name = 'fuel-snapshot-2015-06-23_11-32-13.tar.xz'
    resp = self.app.get(reverse('SnapshotDownloadHandler', kwargs={
        'snapshot_name': snap_name,
    }), headers=self.default_headers, expect_errors=True)
    self.assertEqual(401, snap_name.status_code)
    self.assertNotIn('X-Accel-Redirect', resp.headers)

dataset/ETHPy150Open openstack/fuel-web/nailgun/nailgun/test/unit/test_logs_handlers.py TestSnapshotDownload.test_snapshot_download_handler_wo_auth/VarMisuse@55/97 `resp`->`snap_name`