From 419ad5f5a6900bd2fef7faf61c19fec48673a817 Mon Sep 17 00:00:00 2001 From: Daniel Kostecki Date: Wed, 6 Dec 2023 14:52:11 -0500 Subject: [PATCH] formatting --- .../SR_IOV_Sanity_Performance/test_SR_IOV_Sanity_Performance.py | 1 - sriov/tests/conftest.py | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sriov/tests/SR_IOV_Sanity_Performance/test_SR_IOV_Sanity_Performance.py b/sriov/tests/SR_IOV_Sanity_Performance/test_SR_IOV_Sanity_Performance.py index 894c44c..6836bd6 100644 --- a/sriov/tests/SR_IOV_Sanity_Performance/test_SR_IOV_Sanity_Performance.py +++ b/sriov/tests/SR_IOV_Sanity_Performance/test_SR_IOV_Sanity_Performance.py @@ -206,4 +206,3 @@ def log_elastic(results): elastic.elastic_doc["timestamp"] = datetime.now() print(elastic.elastic_index) - diff --git a/sriov/tests/conftest.py b/sriov/tests/conftest.py index e7deb54..1e4b31b 100644 --- a/sriov/tests/conftest.py +++ b/sriov/tests/conftest.py @@ -20,11 +20,13 @@ execute_and_assert, ) + class elastic: # track elastic results (currently used in SR_IOV_Sanity_Performance) elastic_index = None elastic_doc = {} + def get_settings_obj() -> Config: script_dir = os.path.dirname(os.path.realpath(__file__)) config_file = script_dir + "/config.yaml"