Skip to content

Commit

Permalink
Update river/tests/models/test__transition_approval.py
Browse files Browse the repository at this point in the history
  • Loading branch information
javrasya committed Jan 2, 2021
1 parent 3ceb67d commit 9c0e491
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions river/tests/models/test__transition_approval.py
Expand Up @@ -23,10 +23,7 @@ def test_shouldNotAllowWorkflowToBeDeletedWhenThereIsATransitionApproval(self):

assert_that(
calling(flow.workflow.delete),
raises(
ProtectedError,
"Cannot delete some instances of model 'Workflow' because they are referenced through .*",
),
raises(ProtectedError, "Cannot delete some instances of model 'Workflow' because they are referenced through .*")
)

def test_shouldNotAllowTheStateToBeDeletedWhenThereIsATransitionApprovalThatIsUsedAsSource(self):
Expand Down

0 comments on commit 9c0e491

Please sign in to comment.