aboutsummaryrefslogtreecommitdiff
path: root/tests/performance/test_query.py
diff options
context:
space:
mode:
authorAlexander Kabui2021-06-08 03:48:04 +0300
committerzsloan2021-06-18 22:08:04 +0000
commitc8b5a6f407c00847ee28984f7cc18bc391c45120 (patch)
tree2eedf786b6b2191704a2ab563f30609708eb2400 /tests/performance/test_query.py
parent5348003fdf3628d574ca95911fecebbfd81ba8ee (diff)
downloadgenenetwork3-c8b5a6f407c00847ee28984f7cc18bc391c45120.tar.gz
pep8 formatting
Diffstat (limited to 'tests/performance/test_query.py')
-rw-r--r--tests/performance/test_query.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/performance/test_query.py b/tests/performance/test_query.py
index 222e8d6..2d05d26 100644
--- a/tests/performance/test_query.py
+++ b/tests/performance/test_query.py
@@ -31,7 +31,7 @@ def query_executor(query: str,
fetch_all: bool = True):
"""function to execute a query"""
conn, _ = database_connector()
- print(f"Performance tests for {dataset_name}")
+ print(f"Performance test for {dataset_name}")
with conn:
cursor = conn.cursor()
@@ -122,5 +122,5 @@ def fetch_cmd_args():
if __name__ == '__main__':
func_list = fetch_cmd_args()
- for func in func_list:
- func()
+ for func_obj in func_list:
+ func_obj()