mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-04 19:26:58 +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:
parent
f6781f654e
commit
e177d1e61a
33 changed files with 140 additions and 159 deletions
|
|
@ -369,5 +369,5 @@ def test_user_agent_created_properly():
|
|||
except ImportError:
|
||||
ansible_version = 'unknown'
|
||||
|
||||
expected_user_agent = 'Ansible-linode_v4_module/%s' % ansible_version
|
||||
expected_user_agent = f'Ansible-linode_v4_module/{ansible_version}'
|
||||
assert expected_user_agent == get_user_agent('linode_v4_module')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue