Skip to content

Commit

Permalink
Fix History Table Time Period
Browse files Browse the repository at this point in the history
Also Remove Unused Import and Unnecessary Tab
  • Loading branch information
bastianschaffer committed Feb 6, 2024
1 parent ae60e9a commit 1b1994f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/py/execute_feasibility_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import json
import yaml
import time
import sys
import os


Expand Down Expand Up @@ -295,7 +294,7 @@ def execute_history_query(backend_base_url, backend_client_id, client_secret, ke

update_and_save_history_report(history_report, converted_result)

history_table = convert_to_table(history_report["reports"][-int(history_table_len):], "date")
history_table = convert_to_table(history_report["reports"][:int(history_table_len)], "date")
logging.info(history_table)

if send_results_confluence:
Expand Down
2 changes: 1 addition & 1 deletion src/py/execute_ping_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def execute_ping_task(dsf_base_url, wait_result_secs_ping, b_send_results_conflu

res = requests.post(f'{dsf_base_url}/Task', headers=header,
cert=(dsf_cert_path, dsf_key_path), data=ping_task)

logging.debug(f'Response from DSF sending Ping: {res.text}')
ping_task_id = res.json()['id']

Expand Down

0 comments on commit 1b1994f

Please sign in to comment.