lf_qa.py : test list for subtests did not need to re-sort the list, the

data was previously ordered by date.

Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com>
This commit is contained in:
Chuck SmileyRekiere
2021-12-23 08:37:17 -07:00
committed by shivam
parent 96e85056a6
commit a6c528d72d

View File

@@ -387,12 +387,10 @@ class csv_sql:
self.conn.close()
# test_run are used for detemining the subtest-pass, subtest-fail
# the tests are sorted by date above.
test_run_list = list(df3['test_run'])
print("test_run_list first [0] {}".format(test_run_list[0]))
print("test_run_list last [-1] {}".format(test_run_list[-1]))
test_run_list = list(sorted(set(test_run_list)))
print("test_run_list first [0] {}".format(test_run_list[0]))
print("test_run_list last [-1] {}".format(test_run_list[-1]))
self.test_run = test_run_list[-1]
# collect this runs subtest totals