MCPcopy Create free account
hub / github.com/seleniumbase/SeleniumBase / addSuccess

Method addSuccess

seleniumbase/plugins/base_plugin.py:285–295  ·  view source on GitHub ↗
(self, test, capt)

Source from the content-addressed store, hash-verified

283 )
284
285 def addSuccess(self, test, capt):
286 if self.report_on:
287 self.duration = str(
288 "%.2fs" % (float(time.time()) - float(self.start_time))
289 )
290 self.successes.append(test.id())
291 self.page_results_list.append(
292 report_helper.process_successes(
293 test, self.test_count, self.duration
294 )
295 )
296
297 def add_fails_or_errors(self, test, err):
298 if self.report_on:

Callers 2

_addSkipMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected