diff options
Diffstat (limited to 'opnfv_testapi')
-rw-r--r-- | opnfv_testapi/resources/test_handlers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/opnfv_testapi/resources/test_handlers.py b/opnfv_testapi/resources/test_handlers.py index d4fc445..bded472 100644 --- a/opnfv_testapi/resources/test_handlers.py +++ b/opnfv_testapi/resources/test_handlers.py @@ -440,7 +440,8 @@ class TestsUploadDataHandler(GenericTestHandler): @raise 404: pod/project/testcase not exist @raise 400: body/pod_name/project_name/case_name not provided """ - token = self.get_secure_cookie("token") + mc = memcache.Client(['127.0.0.1:11211'], debug=0) + token = mc.get("token") openid = self.request.headers._dict['Openid'] if openid: self.json_args['owner'] = openid |