report cleanup + #960

This commit is contained in:
jokob-sk
2025-01-19 12:56:00 +11:00
parent af1e9b921b
commit 6b390b66de
12 changed files with 105 additions and 390 deletions

View File

@@ -913,8 +913,6 @@ def handle_test(runType, db, all_plugins, pluginsState):
mylog('minimal', ['[', timeNowTZ(), '] [Test] START Test: ', runType])
# Prepare test samples
sample_txt = get_file_content(reportTemplatesPath + 'report_sample.txt')
sample_html = get_file_content(reportTemplatesPath + 'report_sample.html')
sample_json = json.loads(get_file_content(reportTemplatesPath + 'webhook_json_sample.json'))[0]["body"]["attachments"][0]["text"]
# Create fake notification