Startup
This commit is contained in:
17
script/test/TestStats.py
Normal file
17
script/test/TestStats.py
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
from statistics import *
|
||||
|
||||
cmds = ["mount%", "unmount%", "dry%", "recover%", "trash%", "robot_recover%", "scan%", "homing%"]
|
||||
conn = get_stats_connection()
|
||||
|
||||
start= "01/03/19"
|
||||
end= "01/04/19"
|
||||
|
||||
print_stats(cmds, start, end)
|
||||
|
||||
for cmd in cmds:
|
||||
print_cmd_stats (cmd, start, end)
|
||||
|
||||
print_cmd_records("recover%", start, end, "error")
|
||||
conn.close()
|
||||
|
||||
Reference in New Issue
Block a user