mirror of
https://github.com/home-assistant/core.git
synced 2025-07-16 09:47:13 +00:00
Reserve a test port for broken api to fix race (#5371)
* Reserve a test port for broken api to fix race * I cheated.
This commit is contained in:
parent
196897fdfc
commit
bd3117a0e7
@ -23,7 +23,7 @@ HTTP_BASE_URL = 'http://127.0.0.1:{}'.format(MASTER_PORT)
|
|||||||
|
|
||||||
HA_HEADERS = {HTTP_HEADER_HA_AUTH: API_PASSWORD}
|
HA_HEADERS = {HTTP_HEADER_HA_AUTH: API_PASSWORD}
|
||||||
|
|
||||||
broken_api = remote.API('127.0.0.1', "bladiebla")
|
broken_api = remote.API('127.0.0.1', "bladybla", port=get_test_instance_port())
|
||||||
hass, slave, master_api = None, None, None
|
hass, slave, master_api = None, None, None
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user