summaryrefslogtreecommitdiffstats
path: root/testapi/opnfv_testapi/tests/unit/executor.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-03-28 19:07:15 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-03-28 19:08:35 +0200
commit70737dc32a5bfca180dafc05f7b6ba41a5fb42fc (patch)
treed8837ea9296554e2ac305e26e90b841e56941fd1 /testapi/opnfv_testapi/tests/unit/executor.py
parent88648586eef3662282b638a7bd4698620e3eb75f (diff)
Allow verifying testapi
It allows running tox vs py27 (epydoc forces py27). It also fixes 2 indent issues. Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: I63e28089a56147b359a72eb330b5badbc6fc7d7f
Diffstat (limited to 'testapi/opnfv_testapi/tests/unit/executor.py')
-rw-r--r--testapi/opnfv_testapi/tests/unit/executor.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/testapi/opnfv_testapi/tests/unit/executor.py b/testapi/opnfv_testapi/tests/unit/executor.py
index 5a8d688..7c8cb8a 100644
--- a/testapi/opnfv_testapi/tests/unit/executor.py
+++ b/testapi/opnfv_testapi/tests/unit/executor.py
@@ -18,9 +18,9 @@ O_get_secure_cookie = (
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
def mock_invalid_lfid():