Reserve a test port for broken api to fix race (#5371)

* Reserve a test port for broken api to fix race

* I cheated.
pull/5380/head
Adam Mills 2017-01-16 15:56:47 -05:00 committed by Paulus Schoutsen
parent 196897fdfc
commit bd3117a0e7
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ HTTP_BASE_URL = 'http://127.0.0.1:{}'.format(MASTER_PORT)
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