Martin Weinelt
|
22437644f9
|
home-assistant: disable failing test in mobile app component
____________________ test_webhook_handle_get_config[pyloop] ____________________
[gw18] linux -- Python 3.8.9 /nix/store/q6gfck5czr67090pwm53xrdyhpg6bx67-python3-3.8.9/bin/python3.8
hass = <homeassistant.core.HomeAssistant object at 0x7ffe4e71f370>
create_registrations = ({'cloudhook_url': None, 'remote_ui_url': None, 'secret': 'ed8ac650f2b5865733d2cea4ad1b6b02bcfbdcc3e527524bc1c457d5c6f...emote_ui_url': None, 'secret': None, 'webhook_id': '558fde83113d48024a427ccf004e2d2bdf7c56646c6a5a953566c272d51f1bfc'})
webhook_client = <aiohttp.test_utils.TestClient object at 0x7ffe4e640ca0>
async def test_webhook_handle_get_config(hass, create_registrations, webhook_client):
"""Test that we can get config properly."""
resp = await webhook_client.post(
"/api/webhook/{}".format(create_registrations[1]["webhook_id"]),
json={"type": "get_config"},
)
assert resp.status == 200
json = await resp.json()
if "components" in json:
json["components"] = set(json["components"])
if "allowlist_external_dirs" in json:
json["allowlist_external_dirs"] = set(json["allowlist_external_dirs"])
hass_config = hass.config.as_dict()
expected_dict = {
"latitude": hass_config["latitude"],
"longitude": hass_config["longitude"],
"elevation": hass_config["elevation"],
"unit_system": hass_config["unit_system"],
"location_name": hass_config["location_name"],
"time_zone": hass_config["time_zone"],
"components": hass_config["components"],
"version": hass_config["version"],
"theme_color": "#03A9F4", # Default frontend theme color
}
> assert expected_dict == json
E AssertionError: assert {'components'...st home', ...} == {'components'...st home', ...}
E Omitting 8 identical items, use -vv to show
E Differing items:
E {'theme_color': '#03A9F4'} != {'theme_color': 'blue'}
E Use -v to get the full diff
tests/components/mobile_app/test_webhook.py:231: AssertionError
|
2021-05-17 03:44:03 +02:00 |
|
Martin Weinelt
|
bdabf32fdd
|
home-assistant: print full variables on test error
|
2021-05-15 16:56:35 +02:00 |
|
Martin Weinelt
|
d4a64aa24f
|
home-assistant: 2021.5.3 -> 2021.5.4
|
2021-05-15 01:53:39 +02:00 |
|
Martin Weinelt
|
f82a8914a4
|
home-assistant: enable version component tests
|
2021-05-14 03:47:01 +02:00 |
|
Martin Weinelt
|
f9d8231892
|
Merge pull request #122906 from fabaff/bump-pyvesync
|
2021-05-14 03:41:37 +02:00 |
|
Martin Weinelt
|
f0180dd763
|
Merge pull request #122419 from fabaff/ha-tests-debugpy
|
2021-05-14 03:18:53 +02:00 |
|
Fabian Affolter
|
156d2667b5
|
home-assistant: enable pyvesync tests
|
2021-05-14 00:07:31 +02:00 |
|
Fabian Affolter
|
ac4b1133ad
|
home-assistant: enable debugpy tests
|
2021-05-13 23:52:56 +02:00 |
|
Martin Weinelt
|
b7cc0d6d73
|
home-assistant: 2021.5.2 -> 2021.5.3
|
2021-05-12 09:14:44 -07:00 |
|
Martin Weinelt
|
81310256a9
|
home-assistant: 2021.5.1 -> 2021.5.2
|
2021-05-11 02:02:15 +02:00 |
|
Martin Weinelt
|
008880bd64
|
Merge pull request #121960 from fabaff/bump-plugwise
|
2021-05-10 21:27:24 +02:00 |
|
Martin Weinelt
|
cf51b95aea
|
home-assistant: add jsonpickle to checkInputs
Drop asynctest, it was dropped back in january upstream. These
dependencies are sadly not part of the manifest, that we are parsing.
|
2021-05-10 21:25:43 +02:00 |
|
Fabian Affolter
|
0f5d490226
|
home-assistant: enable plugwise tests
|
2021-05-10 20:53:44 +02:00 |
|
Martin Weinelt
|
94a52465b7
|
Merge pull request #121856 from fabaff/motioneye-client
|
2021-05-10 20:48:41 +02:00 |
|
Martin Weinelt
|
0ebdfbd43a
|
Merge pull request #121853 from fabaff/pymeteireann
python3Packages.pymeteireann: init at 0.2
|
2021-05-10 20:09:14 +02:00 |
|
Martin Weinelt
|
f1b821a338
|
Merge pull request #121848 from fabaff/mutesync
|
2021-05-10 19:54:21 +02:00 |
|
Martin Weinelt
|
4280bbe7e9
|
Merge pull request #122388 from fabaff/bump-androidtv
|
2021-05-10 19:23:35 +02:00 |
|
Martin Weinelt
|
b70ae7c278
|
home-assistant: fix build by disabling test in pyjwt override
FAILED tests/contrib/test_algorithms.py::TestEcdsaAlgorithms::test_ec_verify_should_return_false_if_signature_invalid
|
2021-05-10 17:50:08 +02:00 |
|
Fabian Affolter
|
4ee3a9c043
|
home-assistant: enable androidtv tests
|
2021-05-09 23:01:02 +02:00 |
|
Martin Weinelt
|
f701e8d085
|
Merge pull request #122028 from fabaff/bump-python-miio
|
2021-05-08 22:02:21 +02:00 |
|
Martin Weinelt
|
af9d0dde55
|
Merge pull request #121776 from fabaff/bump-roombapy
|
2021-05-08 21:49:00 +02:00 |
|
Martin Weinelt
|
96cf2b8582
|
Merge pull request #121732 from fabaff/bump-surepy
|
2021-05-08 02:13:46 +02:00 |
|
Robert Schütz
|
bf12c8774d
|
Merge pull request #121434 from dotlambda/fritzconnection-1.5.0
python3Packages.fritzconnection: 1.4.2 -> 1.5.0
|
2021-05-07 23:03:47 +02:00 |
|
Robin Gloster
|
5b1c8aefbd
|
Merge pull request #122054 from mweinelt/home-assistant
home-assistant: 2021.5.0 -> 2021.5.1
|
2021-05-07 13:02:28 -05:00 |
|
Fabian Affolter
|
c742d23e61
|
home-assistant: enable surepetcare tests
|
2021-05-07 20:01:11 +02:00 |
|
Martin Weinelt
|
144dc280e3
|
Merge pull request #121153 from fabaff/bump-denonavr
|
2021-05-07 20:00:49 +02:00 |
|
Fabian Affolter
|
fecd9ba4c3
|
Merge pull request #120266 from fabaff/aiopvpc
python3Packages.aiopvpc: init at 2.0.2
|
2021-05-07 19:54:47 +02:00 |
|
Martin Weinelt
|
57f2828dca
|
home-assistant: 2021.5.0 -> 2021.5.1
|
2021-05-07 19:21:45 +02:00 |
|
Fabian Affolter
|
d36f6915ac
|
home-assistant: enable denonavr tests
|
2021-05-07 18:57:23 +02:00 |
|
Martin Weinelt
|
d4917fafb5
|
home-assistant: enable fritz component tests
These tests require pytest-mock for the mocker fixture, but it isn't
declared anywhere.
https://github.com/home-assistant/core/issues/50253
|
2021-05-07 17:22:57 +02:00 |
|
Fabian Affolter
|
501da89713
|
home-assistant: enable climacell tests
|
2021-05-07 08:07:55 -07:00 |
|
Fabian Affolter
|
1537fef2ab
|
home-assistant: enable xiaomi_miio tests
|
2021-05-07 15:16:09 +02:00 |
|
Fabian Affolter
|
724c39fdc7
|
home-assistant: enable jewish_calendar tests
|
2021-05-06 23:55:58 +02:00 |
|
Fabian Affolter
|
f3c8245dab
|
home-assistant: update component-packages
|
2021-05-06 23:55:57 +02:00 |
|
Fabian Affolter
|
382a580b18
|
home-assistant: enable mutesync tests
|
2021-05-06 21:09:31 +02:00 |
|
Fabian Affolter
|
ba7d8bdb9f
|
home-assistant: update component-packages
|
2021-05-06 21:08:44 +02:00 |
|
Fabian Affolter
|
d79f71927c
|
home-assistant: enable met_eireann tests
|
2021-05-06 20:11:52 +02:00 |
|
Fabian Affolter
|
29b2ee5b07
|
home-assistant: update component-packages
|
2021-05-06 20:11:17 +02:00 |
|
Fabian Affolter
|
c21b689104
|
home-assistant: enable motioneye tests
|
2021-05-06 18:56:57 +02:00 |
|
Fabian Affolter
|
4097ca3486
|
home-assistant: update component-packages
|
2021-05-06 18:49:55 +02:00 |
|
Martin Weinelt
|
3bab9a19ad
|
home-assistant: 2021.4.6 -> 2021.5.0
https://www.home-assistant.io/blog/2021/05/05/release-20215/
|
2021-05-06 04:45:55 +02:00 |
|
Fabian Affolter
|
00427b462b
|
python3Packages.roombapy: 1.6.2-1 -> 1.6.3
|
2021-05-05 21:41:14 +02:00 |
|
Martin Weinelt
|
e9477befb8
|
home-assistant: enable tesla component tests
|
2021-05-03 16:10:23 +02:00 |
|
Luke Granger-Brown
|
7d82378949
|
Merge pull request #120278 from fabaff/pyotgw
python3packages.pyotgw: unstable-2021-03-25
|
2021-05-01 19:19:43 +01:00 |
|
Martin Weinelt
|
f4b036d5bd
|
Merge pull request #119765 from mweinelt/appdaemon
appdaemon: 4.0.5 -> 4.0.8
|
2021-04-29 05:18:38 +02:00 |
|
Martin Weinelt
|
79cb2cb986
|
Merge pull request #120272 from fabaff/pynx584
|
2021-04-25 20:34:42 +02:00 |
|
Fabian Affolter
|
3e1f41395b
|
home-assistant: enable nx584 tests
|
2021-04-25 18:56:49 +02:00 |
|
Fabian Affolter
|
5cd12de25c
|
home-assistant: update component-packages
|
2021-04-25 18:56:49 +02:00 |
|
Fabian Affolter
|
98fd3adf27
|
home-assistant: enable opentherm_gw tests
|
2021-04-25 16:41:18 +02:00 |
|
Fabian Affolter
|
8a6b6c106f
|
home-assistant: update component-packages
|
2021-04-25 16:35:58 +02:00 |
|