mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-30 18:27:53 +00:00
Better text for html links in ghostrequest.py and correct link for html report
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -362,8 +362,8 @@ class GhostRequest:
|
||||
ghost_host, customer.strip('/'), testbed, test_run, target_folder, file)
|
||||
pdfs.append('PDF of results: <a href="%s">%s</a>' % (url, file))
|
||||
if 'index.html' in files:
|
||||
url = 'http://%s/%s/%s/%s/%s' % (
|
||||
ghost_host, customer.strip('/'), testbed, target_folder, 'index.html')
|
||||
url = 'http://%s/%s/%s/%s/%s/%s' % (
|
||||
ghost_host, customer.strip('/'), testbed, test_run, target_folder, 'index.html')
|
||||
webpages.append('Results webpage: <a href="%s">%s</a><br />' % (url % target_folder))
|
||||
scp_push.close()
|
||||
self.upload_images(target_folder)
|
||||
@@ -387,6 +387,8 @@ class GhostRequest:
|
||||
|
||||
test_pass_fail_results = sum((Counter(test) for test in test_pass_fail), Counter())
|
||||
|
||||
if self.debug:
|
||||
print(times)
|
||||
end_time = max(times)
|
||||
start_time = '2021-07-01'
|
||||
end_time = datetime.utcfromtimestamp(end_time)#.strftime('%Y-%m-%d %H:%M:%S')
|
||||
|
||||
BIN
py-dashboard/__pycache__/GhostRequest.cpython-38.pyc
Normal file
BIN
py-dashboard/__pycache__/GhostRequest.cpython-38.pyc
Normal file
Binary file not shown.
BIN
py-dashboard/__pycache__/GhostRequest.cpython-39.pyc
Normal file
BIN
py-dashboard/__pycache__/GhostRequest.cpython-39.pyc
Normal file
Binary file not shown.
BIN
py-dashboard/__pycache__/GrafanaRequest.cpython-38.pyc
Normal file
BIN
py-dashboard/__pycache__/GrafanaRequest.cpython-38.pyc
Normal file
Binary file not shown.
BIN
py-dashboard/__pycache__/GrafanaRequest.cpython-39.pyc
Normal file
BIN
py-dashboard/__pycache__/GrafanaRequest.cpython-39.pyc
Normal file
Binary file not shown.
Reference in New Issue
Block a user