mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-18 09:51:41 +00:00
unit tests: use f-strings (#10993)
This commit is contained in:
parent
e177d1e61a
commit
efad7a0d38
25 changed files with 54 additions and 78 deletions
|
|
@ -7,7 +7,7 @@ from __future__ import annotations
|
|||
|
||||
|
||||
def fake_xenapi_ref(xenapi_class):
|
||||
return "OpaqueRef:fake-xenapi-%s-ref" % xenapi_class
|
||||
return f"OpaqueRef:fake-xenapi-{xenapi_class}-ref"
|
||||
|
||||
|
||||
testcase_bad_xenapi_refs = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue