@@ -9555,12 +9555,15 @@ def __process_visual_baseline_logs(self):
9555
9555
test_logpath = os .path .join (self .log_path , self .__get_test_id ())
9556
9556
for baseline_copy_tuple in self .__visual_baseline_copies :
9557
9557
baseline_path = baseline_copy_tuple [0 ]
9558
- baseline_copy_path = baseline_copy_tuple [1 ]
9559
- b_c_alt_path = baseline_copy_tuple [2 ]
9558
+ baseline_copy_name = baseline_copy_tuple [1 ]
9559
+ b_c_alt_name = baseline_copy_tuple [2 ]
9560
9560
latest_png_path = baseline_copy_tuple [3 ]
9561
- latest_copy_path = baseline_copy_tuple [4 ]
9562
- l_c_alt_path = baseline_copy_tuple [5 ]
9563
-
9561
+ latest_copy_name = baseline_copy_tuple [4 ]
9562
+ l_c_alt_name = baseline_copy_tuple [5 ]
9563
+ baseline_copy_path = os .path .join (test_logpath , baseline_copy_name )
9564
+ b_c_alt_path = os .path .join (test_logpath , b_c_alt_name )
9565
+ latest_copy_path = os .path .join (test_logpath , latest_copy_name )
9566
+ l_c_alt_path = os .path .join (test_logpath , l_c_alt_name )
9564
9567
if len (self .__visual_baseline_copies ) == 1 :
9565
9568
baseline_copy_path = b_c_alt_path
9566
9569
latest_copy_path = l_c_alt_path
@@ -9798,19 +9801,14 @@ def check_window(
9798
9801
out_file .writelines (json .dumps (level_3 ))
9799
9802
out_file .close ()
9800
9803
9801
- test_logpath = os .path .join (self .log_path , self .__get_test_id ())
9802
9804
baseline_path = os .path .join (visual_baseline_path , baseline_png )
9803
9805
baseline_copy_name = "baseline_%s.png" % name
9804
- baseline_copy_path = os .path .join (test_logpath , baseline_copy_name )
9805
9806
b_c_alt_name = "baseline.png"
9806
- b_c_alt_path = os .path .join (test_logpath , b_c_alt_name )
9807
9807
latest_copy_name = "baseline_diff_%s.png" % name
9808
- latest_copy_path = os .path .join (test_logpath , latest_copy_name )
9809
9808
l_c_alt_name = "baseline_diff.png"
9810
- l_c_alt_path = os .path .join (test_logpath , l_c_alt_name )
9811
9809
baseline_copy_tuple = (
9812
- baseline_path , baseline_copy_path , b_c_alt_path ,
9813
- latest_png_path , latest_copy_path , l_c_alt_path ,
9810
+ baseline_path , baseline_copy_name , b_c_alt_name ,
9811
+ latest_png_path , latest_copy_name , l_c_alt_name ,
9814
9812
)
9815
9813
self .__visual_baseline_copies .append (baseline_copy_tuple )
9816
9814
0 commit comments