From d76f63a758fd6b5e94079ea3610955374e9f0266 Mon Sep 17 00:00:00 2001 From: Robin Date: Wed, 16 Oct 2024 15:24:50 -0700 Subject: [PATCH] Update emission/tests/funcTests/TestFunctionTiming.py Co-authored-by: Jack Greenlee --- emission/tests/funcTests/TestFunctionTiming.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/emission/tests/funcTests/TestFunctionTiming.py b/emission/tests/funcTests/TestFunctionTiming.py index 6925c7e5c..e8352ef80 100644 --- a/emission/tests/funcTests/TestFunctionTiming.py +++ b/emission/tests/funcTests/TestFunctionTiming.py @@ -102,16 +102,6 @@ def test_multiple_functions(self): stored_documents = list(stored_documents_chain) logging.info(f"Number of 'stats/dashboard_time' entries retrieved: {len(stored_documents)}") - # Log details of each stored document - for doc in stored_documents: - try: - name = doc['data']['name'] - reading = doc['data']['reading'] - ts = doc['data']['ts'] - logging.info(f"Stored Entry - Name: {name}, Reading: {reading} ms, Timestamp: {ts}") - except KeyError as e: - logging.error(f"Missing key {e} in stored document: {doc}") - # Assert that the number of stored documents matches the number of functions tested expected_count = len(functions) actual_count = len(stored_documents)