diff options
author | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-12-06 07:09:22 +0800 |
---|---|---|
committer | SerenaFeng <feng.xiaowei@zte.com.cn> | 2017-12-06 07:09:42 +0800 |
commit | c7d4a41937374b9ed441fcc96d264ab382f43163 (patch) | |
tree | d1b85c227619529e992d99c62cae8550f5cce37e /testapi/opnfv_testapi | |
parent | 41ff15069d96ea1040cb457b39f909967dabb8bc (diff) |
remove useless print snippet
Change-Id: I3ea4ea202bf2f5cf17ca585ccffbef3265ef7cc0
Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
Diffstat (limited to 'testapi/opnfv_testapi')
-rw-r--r-- | testapi/opnfv_testapi/common/check.py | 1 | ||||
-rw-r--r-- | testapi/opnfv_testapi/tests/unit/fake_pymongo.py | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/testapi/opnfv_testapi/common/check.py b/testapi/opnfv_testapi/common/check.py index db28e44..8a76f17 100644 --- a/testapi/opnfv_testapi/common/check.py +++ b/testapi/opnfv_testapi/common/check.py @@ -139,7 +139,6 @@ def new_not_exists(xstep): if query_data.get('name') is not None: query_data['name'] = re.compile('\\b' + query_data.get('name') + '\\b', re.IGNORECASE) to_data = yield dbapi.db_find_one(self.table, query_data) - print to_data if to_data: raises.Forbidden(message.exist(self.table, query())) ret = yield gen.coroutine(xstep)(self, *args, **kwargs) diff --git a/testapi/opnfv_testapi/tests/unit/fake_pymongo.py b/testapi/opnfv_testapi/tests/unit/fake_pymongo.py index c44a92c..39b7e6a 100644 --- a/testapi/opnfv_testapi/tests/unit/fake_pymongo.py +++ b/testapi/opnfv_testapi/tests/unit/fake_pymongo.py @@ -213,7 +213,6 @@ class MemDb(object): def _aggregate(self, *args, **kwargs): res = self.contents - print args for arg in args[0]: for k, v in arg.iteritems(): if k == '$match': |