@@ -122,9 +122,9 @@ def __log_all_options_if_none_specified(self, test):
122
122
specified (basic_test_info, screen_shots, page_source), then save them
123
123
all by default. Otherwise, save only selected ones from their plugins.
124
124
"""
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 )):
128
128
test_logpath = self .options .log_path + "/" + test .id ()
129
129
log_helper .log_screenshot (test_logpath , test .driver )
130
130
log_helper .log_test_failure_data (
@@ -165,9 +165,9 @@ def addError(self, test, err, capt=None):
165
165
error states, we want to make sure that they don't show up in
166
166
the nose output as errors.
167
167
"""
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 )) :
171
171
print (err [1 ].__str__ ().split ('''-------------------- >> '''
172
172
'''begin captured logging'''
173
173
''' << --------------------''' , 1 )[0 ])
0 commit comments