How to use the spidermon.results.monitor.monitors_step_required function in spidermon

To help you get started, we’ve selected a few spidermon examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github scrapinghub / spidermon / spidermon / contrib / scrapy / runners.py View on Github external
    @monitors_step_required
    def addSkip(self, test, reason):
        super(SpiderMonitorResult, self).addSkip(test, reason)
        self.write_item_result(test, reason)
github scrapinghub / spidermon / spidermon / contrib / scrapy / runners.py View on Github external
    @monitors_step_required
    def addUnexpectedSuccess(self, test):
        super(SpiderMonitorResult, self).addUnexpectedSuccess(test)
        self.write_item_result(test)
github scrapinghub / spidermon / spidermon / results / text.py View on Github external
    @monitors_step_required
    def addSkip(self, test, reason):
        super(TextMonitorResult, self).addSkip(test, reason)
        self.write_run_result(test, reason)
github scrapinghub / spidermon / spidermon / contrib / scrapy / runners.py View on Github external
    @monitors_step_required
    def addError(self, test, error):
        super(SpiderMonitorResult, self).addError(test, error)
        self.write_item_result(test)
github scrapinghub / spidermon / spidermon / contrib / scrapy / runners.py View on Github external
    @monitors_step_required
    def addExpectedFailure(self, test, error):
        super(SpiderMonitorResult, self).addExpectedFailure(test, error)
        self.write_item_result(test)
github scrapinghub / spidermon / spidermon / results / text.py View on Github external
    @monitors_step_required
    def addUnexpectedSuccess(self, test):
        super(TextMonitorResult, self).addUnexpectedSuccess(test)
        self.write_run_result(test)
github scrapinghub / spidermon / spidermon / results / text.py View on Github external
    @monitors_step_required
    def addError(self, test, error):
        super(TextMonitorResult, self).addError(test, error)
        self.write_run_result(test)
github scrapinghub / spidermon / spidermon / results / text.py View on Github external
    @monitors_step_required
    def addFailure(self, test, error):
        super(TextMonitorResult, self).addFailure(test, error)
        self.write_run_result(test)
github scrapinghub / spidermon / spidermon / contrib / scrapy / runners.py View on Github external
    @monitors_step_required
    def addSuccess(self, test):
        super(SpiderMonitorResult, self).addSuccess(test)
        self.write_item_result(test)
github scrapinghub / spidermon / spidermon / results / text.py View on Github external
    @monitors_step_required
    def startTest(self, test):
        super(TextMonitorResult, self).startTest(test)
        self.write_run_start(test)