remove live updates, fix save results
This commit is contained in:
@@ -248,6 +248,19 @@ def reset_by_file_id_and_device(test_id, device):
|
||||
)
|
||||
|
||||
|
||||
def reset_all_results_state():
|
||||
with _tx():
|
||||
_conn.execute(
|
||||
"""
|
||||
UPDATE tests
|
||||
SET completed = 0,
|
||||
completed_at = NULL,
|
||||
duration_seconds = NULL,
|
||||
tput_results = NULL
|
||||
"""
|
||||
)
|
||||
|
||||
|
||||
def clear_tests():
|
||||
with _tx():
|
||||
_conn.execute("DELETE FROM tests")
|
||||
|
||||
Reference in New Issue
Block a user