From 9ec1397dd9fc9ae3c97ef5a8059dc5b57717c9dc Mon Sep 17 00:00:00 2001 From: Stamatis Katsaounis Date: Tue, 12 Feb 2019 16:03:17 +0200 Subject: Fix lint and identation issues and remove unwanted parts of code Change-Id: Ic294155075962f0b78e3102cff993ee2421ad99e Signed-off-by: Stamatis Katsaounis --- opnfv_testapi/tests/unit/fake_pymongo.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'opnfv_testapi/tests/unit/fake_pymongo.py') diff --git a/opnfv_testapi/tests/unit/fake_pymongo.py b/opnfv_testapi/tests/unit/fake_pymongo.py index 28ea966..c1b54d7 100644 --- a/opnfv_testapi/tests/unit/fake_pymongo.py +++ b/opnfv_testapi/tests/unit/fake_pymongo.py @@ -13,9 +13,9 @@ from concurrent.futures import ThreadPoolExecutor def thread_execute(method, *args, **kwargs): - with ThreadPoolExecutor(max_workers=2) as executor: - result = executor.submit(method, *args, **kwargs) - return result + with ThreadPoolExecutor(max_workers=2) as executor: + result = executor.submit(method, *args, **kwargs) + return result class MemCursor(object): -- cgit 1.2.3-korg