summaryrefslogtreecommitdiffstats
path: root/testapi
diff options
context:
space:
mode:
authorSerena Feng <feng.xiaowei@zte.com.cn>2018-03-14 13:10:07 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-14 13:10:07 +0000
commitf06577aec659c50521ff7f69321aec604b936749 (patch)
tree3b827047b508397ea6e81694515e415e56f18960 /testapi
parentbd27d9c8a76887b129ba79117b727f0f0428d106 (diff)
parent31a51dfce1e0b5cfb936d44c918a6ee86f4685c5 (diff)
Merge "authenticate comes before exist check"
Diffstat (limited to 'testapi')
-rw-r--r--testapi/opnfv_testapi/handlers/base_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testapi/opnfv_testapi/handlers/base_handlers.py b/testapi/opnfv_testapi/handlers/base_handlers.py
index 350c38d..3dbd53a 100644
--- a/testapi/opnfv_testapi/handlers/base_handlers.py
+++ b/testapi/opnfv_testapi/handlers/base_handlers.py
@@ -79,8 +79,8 @@ class GenericApiHandler(web.RequestHandler):
@check.valid_token
@check.no_body
@check.miss_fields
- @check.new_not_exists
@check.is_authorized
+ @check.new_not_exists
@check.values_check
@check.carriers_exist
def _create(self, **kwargs):