String formatting improvements for tests (2) (#33666)
This commit is contained in:
1 parent
906385172a
commit
d7e9959442
19 files changed
+65
-76
No files matched your search
@@ -15,7 +15,7 @@ from tests.common import get_test_home_assistant, get_test_instance_port
|
||||
HTTP_SERVER_PORT = get_test_instance_port()
|
||||
BRIDGE_SERVER_PORT = get_test_instance_port()
|
||||
|
||||
BRIDGE_URL_BASE = "http://127.0.0.1:{}".format(BRIDGE_SERVER_PORT) + "{}"
|
||||
BRIDGE_URL_BASE = f"http://127.0.0.1:{BRIDGE_SERVER_PORT}" + "{}"
|
||||
JSON_HEADERS = {CONTENT_TYPE: const.CONTENT_TYPE_JSON}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user