1
0
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:
beeankha 2019-08-23 08:34:32 -04:00 committed by Ryan Petrello
parent b5c0f58137
commit 703de8f3c0
No known key found for this signature in database
GPG Key ID: F2AA5F2122351777

View File

@ -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"]}'