File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -158,7 +158,11 @@ def test_topology_graph(self):
158158 self .find_element (By .CSS_SELECTOR , '.njg-valueLabel' ).text .lower (),
159159 label ,
160160 )
161- self .assertEqual (len (self .console_error_check ()), 0 )
161+ try :
162+ self .assertEqual (len (self .console_error_check ()), 0 )
163+ except AssertionError :
164+ print (self .console_error_check ())
165+ self .fail ()
162166 self .action_on_resource (label , path , 'delete_selected' )
163167 self .assertNotIn ('<li>Nodes: ' , self .web_driver .page_source )
164168 self .action_on_resource (label , path , 'update_selected' )
@@ -485,4 +489,7 @@ def test_containers_down(self):
485489
486490
487491if __name__ == '__main__' :
488- unittest .main (verbosity = 2 )
492+ suite = unittest .TestSuite ()
493+ suite .addTest (TestServices ('test_topology_graph' ))
494+ runner = unittest .TextTestRunner (verbosity = 2 )
495+ runner .run (suite )
You can’t perform that action at this time.
0 commit comments