@@ -122,9 +122,9 @@ def __log_all_options_if_none_specified(self, test):
122122 specified (basic_test_info, screen_shots, page_source), then save them
123123 all by default. Otherwise, save only selected ones from their plugins.
124124 """
125- if ((not self .options .enable_plugin_basic_test_info ) and
126- ( not self .options .enable_plugin_screen_shots ) and
127- ( not self .options .enable_plugin_page_source )):
125+ if ((not self .options .enable_plugin_basic_test_info ) and (
126+ not self .options .enable_plugin_screen_shots ) and (
127+ not self .options .enable_plugin_page_source )):
128128 test_logpath = self .options .log_path + "/" + test .id ()
129129 log_helper .log_screenshot (test_logpath , test .driver )
130130 log_helper .log_test_failure_data (
@@ -165,9 +165,9 @@ def addError(self, test, err, capt=None):
165165 error states, we want to make sure that they don't show up in
166166 the nose output as errors.
167167 """
168- if (err [0 ] == errors .BlockedTest or
169- err [0 ] == errors .SkipTest or
170- err [0 ] == errors .DeprecatedTest ):
168+ if (err [0 ] == errors .BlockedTest or (
169+ err [0 ] == errors .SkipTest ) or (
170+ err [0 ] == errors .DeprecatedTest )) :
171171 print (err [1 ].__str__ ().split ('''-------------------- >> '''
172172 '''begin captured logging'''
173173 ''' << --------------------''' , 1 )[0 ])
0 commit comments