diff --git a/tests/test_moderation_flows.py b/tests/test_moderation_flows.py index 41fe54d1..113c0127 100644 --- a/tests/test_moderation_flows.py +++ b/tests/test_moderation_flows.py @@ -200,3 +200,13 @@ def test_reject_moderation_workflow(self): self.assertFalse(moderation_request.is_active) last_action = ModerationRequestAction.objects.last() self.assertTrue(last_action.action, constants.ACTION_CANCELLED) + + def test_workflow_admin_renders(self): + url = get_admin_url( + name="cms_moderation_workflow_change", language="en", args=(self.workflow.pk,) + ) + + result = self.client.get(url) + + self.assertEqual(result.status_code, 200) + self.assertContains(result, self.workflow.name)