mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +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:
@@ -103,7 +103,7 @@ def test_zone_create_invalid_names(mocked_zone_create, capfd):
|
||||
{
|
||||
"name": invalid_name,
|
||||
"state": "installed",
|
||||
"path": "/zones/" + invalid_name,
|
||||
"path": f"/zones/{invalid_name}",
|
||||
"_ansible_check_mode": False,
|
||||
}
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user