File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -98,15 +98,21 @@ def test_04_write_to_existing_file_but_no_panels(self):
98
98
panel_names = [panel .attrib ["label" ] for panel in panels ]
99
99
assert len (panel_names ) == 1
100
100
101
- def validate_file_exists_and_pyaedt_tabs_added (self , file_path ):
101
+ @staticmethod
102
+ def validate_file_exists_and_pyaedt_tabs_added (file_path ):
102
103
assert os .path .isfile (file_path ) is True
103
104
assert ET .parse (file_path ) is not None
104
105
tree = ET .parse (file_path )
105
106
root = tree .getroot ()
106
107
panels = root .findall ("./panel" )
107
108
panel_names = [panel .attrib ["label" ] for panel in panels ]
108
109
assert "Panel_PyAEDT" in panel_names
109
- files_to_verify = ["images/large/pyansys.png" , "images/gallery/PyAEDT.png" ]
110
+ files_to_verify = [
111
+ "images/large/pyansys.png" ,
112
+ "images/gallery/console.png" ,
113
+ "images/gallery/run_script.png" ,
114
+ "images/gallery/toolkit_manager.png" ,
115
+ ]
110
116
for file_name in files_to_verify :
111
117
assert os .path .isfile (os .path .join (os .path .dirname (file_path ), file_name ))
112
118
return root
You can’t perform that action at this time.
0 commit comments