mirror of
https://github.com/sartography/cr-connect-workflow.git
synced 2025-02-22 20:58:28 +00:00
Currently, we don't have a test for Sentry. Unsure how to do this. Also added a script, service and test workflow to help. (Also to learn about adding a script and service.)
15 lines
349 B
Python
15 lines
349 B
Python
from crc.scripts.script import Script
|
|
from crc.services.failing_service import FailingService
|
|
|
|
|
|
class FailingScript(Script):
|
|
|
|
def get_description(self):
|
|
return """It fails"""
|
|
|
|
def do_task_validate_only(self, task, *args, **kwargs):
|
|
pass
|
|
|
|
def do_task(self, task, *args, **kwargs):
|
|
|
|
FailingService.fail_as_service() |