aboutsummaryrefslogtreecommitdiffstats
path: root/opnfv_testapi/tests/unit/fake_pymongo.py
diff options
context:
space:
mode:
authorStamatis Katsaounis <mokats@intracom-telecom.com>2019-02-12 16:03:17 +0200
committerStamatis Katsaounis <mokats@intracom-telecom.com>2019-02-13 09:37:15 +0200
commit9ec1397dd9fc9ae3c97ef5a8059dc5b57717c9dc (patch)
treea5608e273881abe89605dce3f943a174678d5886 /opnfv_testapi/tests/unit/fake_pymongo.py
parent83c44e0acaed30f2388a69fd13ec806c38edfd73 (diff)
Fix lint and identation issues and remove unwanted parts of code
Change-Id: Ic294155075962f0b78e3102cff993ee2421ad99e Signed-off-by: Stamatis Katsaounis <mokats@intracom-telecom.com>
Diffstat (limited to 'opnfv_testapi/tests/unit/fake_pymongo.py')
-rw-r--r--opnfv_testapi/tests/unit/fake_pymongo.py6
1 files changed, 3 insertions, 3 deletions
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):