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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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