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:
parent
02979db3d6
commit
c5d5d57e9b
3 changed files with 228 additions and 36 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue