mirror of
https://github.com/ansible/awx.git
synced 2024-10-30 22:21:13 +03:00
Edit minor typo
This commit is contained in:
parent
b5c0f58137
commit
703de8f3c0
@ -194,7 +194,7 @@ class TestApprovalNodes():
|
|||||||
assert approval.name == 'Approve/Deny Test2'
|
assert approval.name == 'Approve/Deny Test2'
|
||||||
post(reverse('api:workflow_approval_deny', kwargs={'pk': approval.pk}),
|
post(reverse('api:workflow_approval_deny', kwargs={'pk': approval.pk}),
|
||||||
user=admin_user, expect=204)
|
user=admin_user, expect=204)
|
||||||
# Test that there is an activity stream entry that was created for the "approve" action.
|
# Test that there is an activity stream entry that was created for the "deny" action.
|
||||||
qs = ActivityStream.objects.order_by('-timestamp').first()
|
qs = ActivityStream.objects.order_by('-timestamp').first()
|
||||||
assert qs.object1 == 'workflow_approval'
|
assert qs.object1 == 'workflow_approval'
|
||||||
assert qs.changes == '{"status": ["pending", "failed"]}'
|
assert qs.changes == '{"status": ["pending", "failed"]}'
|
||||||
|
Loading…
Reference in New Issue
Block a user