mirror of
				https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
				synced 2025-11-03 20:27:54 +00:00 
			
		
		
		
	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:
		
				
					committed by
					
						
						shivam
					
				
			
			
				
	
			
			
			
						parent
						
							96e85056a6
						
					
				
				
					commit
					a6c528d72d
				
			@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user