add functional API tests for deprecated job event stdout composition

see: https://github.com/ansible/awx/issues/200
This commit is contained in:
Ryan Petrello
2017-12-15 13:40:37 -05:00
parent 1369f72885
commit c4d901bf2c
4 changed files with 310 additions and 20 deletions

View File

@@ -4624,7 +4624,7 @@ class UnifiedJobStdout(RetrieveAPIView):
return super(UnifiedJobStdout, self).retrieve(request, *args, **kwargs)
except StdoutMaxBytesExceeded as e:
response_message = _(
"Standard Output too large to display {text_size} bytes), "
"Standard Output too large to display ({text_size} bytes), "
"only download supported for sizes over {supported_size} bytes").format(
text_size=e.total, supported_size=e.supported
)