mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
unit tests (modules): use f-strings (#10992)
* unit tests (modules): use f-strings * Apply suggestions from code review
This commit is contained in:
@@ -38,7 +38,7 @@ class JenkinsBuildMock():
|
||||
response["result"] = "ABSENT"
|
||||
return response
|
||||
except Exception as e:
|
||||
fail_json(msg='Unable to fetch build information, {0}'.format(e))
|
||||
fail_json(msg=f'Unable to fetch build information, {e}')
|
||||
|
||||
|
||||
class JenkinsMock():
|
||||
|
||||
Reference in New Issue
Block a user