String formatting improvements for tests (#33663)
This commit is contained in:
1 parent
1c25468b21
commit
906385172a
33 files changed
+129
-155
No files matched your search
@@ -77,7 +77,7 @@ class TestSwitch(unittest.TestCase):
|
||||
switch.DOMAIN,
|
||||
{
|
||||
switch.DOMAIN: {CONF_PLATFORM: "test"},
|
||||
"{} 2".format(switch.DOMAIN): {CONF_PLATFORM: "test2"},
|
||||
f"{switch.DOMAIN} 2": {CONF_PLATFORM: "test2"},
|
||||
},
|
||||
)
|
||||
|
||||
|
||||
Reference in new issue
Block a user