Minor improvements to homeassistant.remote tests

This commit is contained in:
Paulus Schoutsen
2014-11-28 20:22:29 -08:00
parent 006310c883
commit cfae4c667a
2 changed files with 27 additions and 9 deletions
+2 -1
View File
@@ -124,7 +124,8 @@ class HomeAssistant(ha.HomeAssistant):
# pylint: disable=too-many-format-args
random_password = '%030x'.format(random.randrange(16**30))
http.setup(self, random_password)
http.setup(
self, {http.DOMAIN: {http.CONF_API_PASSWORD: random_password}})
ha.Timer(self)