diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-03-23 09:10:31 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-23 09:10:31 +0000 |
commit | 36e87461d4db933a2e90aad5ae3ab2ecbf8a136a (patch) | |
tree | af6df206a54dc96ee05ae2347f790d9e45600080 /utils/test | |
parent | 662aac7409e33cc88d64cd84f5908f2125a5d788 (diff) | |
parent | 2b1f815c1542153a8050eb6a94f96b3f5343076d (diff) |
Merge "fix: always return 200 even if exception happens"
Diffstat (limited to 'utils/test')
-rw-r--r-- | utils/test/testapi/opnfv_testapi/resources/handlers.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/utils/test/testapi/opnfv_testapi/resources/handlers.py b/utils/test/testapi/opnfv_testapi/resources/handlers.py index 8255b526a..15096468c 100644 --- a/utils/test/testapi/opnfv_testapi/resources/handlers.py +++ b/utils/test/testapi/opnfv_testapi/resources/handlers.py @@ -92,8 +92,6 @@ class GenericApiHandler(web.RequestHandler): raise gen.Return(ret) return wrapper - @web.asynchronous - @gen.coroutine @authenticate def _create(self, miss_checks, db_checks, **kwargs): """ @@ -158,8 +156,6 @@ class GenericApiHandler(web.RequestHandler): .format(query, self.table)) self.finish_request(self.format_data(data)) - @web.asynchronous - @gen.coroutine @authenticate def _delete(self, query): data = yield self._eval_db_find_one(query) @@ -171,8 +167,6 @@ class GenericApiHandler(web.RequestHandler): yield self._eval_db(self.table, 'remove', query) self.finish_request() - @web.asynchronous - @gen.coroutine @authenticate def _update(self, query, db_keys): if self.json_args is None: |