1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Extend hass.io services / updater (#11549)

* Extend hass.io services

* Add warning for carfuly options with hass.io

* update tests

* finish tests

* remove update calls

* address comments

* address comments p2

* fix tests

* fix tests

* Use token also for proxy

* Add test for server_host

* Fix test

* Fix tests

* Add test for version

* Address comments
This commit is contained in:
Pascal Vizeli
2018-01-10 19:48:31 +01:00
committed by GitHub
parent 02979db3d6
commit c5d5d57e9b
3 changed files with 228 additions and 36 deletions

View File

@@ -83,7 +83,7 @@ class AiohttpClientMocker:
data = data or json
for response in self._mocks:
if response.match_request(method, url, params):
self.mock_calls.append((method, url, data))
self.mock_calls.append((method, url, data, headers))
if response.exc:
raise response.exc