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 authored and GitHub committed 2018-01-10 19:48:31 +01:00
1 parent 02979db3d6
commit c5d5d57e9b
3 files changed
+228 -36

No files matched your search

+1 -1
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