Skip to content

Commit

Permalink
workflows: destroy workflows and delete/stop running tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
DonHaul committed Aug 19, 2024
1 parent 2313da1 commit 000741c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backoffice/backoffice/workflows/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
WorkflowSerializer,
WorkflowTicketSerializer,
)
from backoffice.workflows.constants import WORKFLOW_DAGS, StatusChoices, WorkflowType
from backoffice.workflows.api.serializers import WorkflowTicketSerializer
from backoffice.workflows.constants import (
WORKFLOW_DAGS,
AuthorCreateDags,
Expand Down Expand Up @@ -102,7 +100,7 @@ def test_tickets(self):
assert "ticket_type" in workflow_data["tickets"][0]

@pytest.mark.vcr()
def test_destroy(self):
def test_delete(self):
self.api_client.force_authenticate(user=self.curator)
airflow_utils.trigger_airflow_dag(
AuthorCreateDags.initialize, str(self.workflow.id)
Expand Down

0 comments on commit 000741c

Please sign in to comment.