Improve string formatting v6 (#33698)

This commit is contained in:
springstan authored and GitHub committed 2020-04-07 23:14:28 +02:00
1 parent d7e3b0b755
commit eae21be5b9
43 files changed
+81 -87

No files matched your search

@@ -289,7 +289,7 @@ async def test_reachable_for_state(hass_hue, hue_client, state, is_reachable):
async def test_discover_full_state(hue_client):
"""Test the discovery of full state."""
result = await hue_client.get("/api/" + HUE_API_USERNAME)
result = await hue_client.get(f"/api/{HUE_API_USERNAME}")
assert result.status == 200
assert "application/json" in result.headers["content-type"]