Commit Graph

870 Commits

Author SHA1 Message Date
Martin Weinelt
f6b1fc2996
home-assistant: pin pyflunearyou at 1.0.7 2021-05-18 16:53:53 +02:00
Martin Weinelt
266cdceff7
home-assistant: update component packages with pygatt 2021-05-18 07:42:44 +02:00
Martin Weinelt
fda6185f75
Merge pull request #123181 from fabaff/ha-philipsjs 2021-05-17 17:47:19 +02:00
Martin Weinelt
2aa7f70d8e
Merge pull request #123176 from fabaff/ovoenergy 2021-05-17 17:43:52 +02:00
Martin Weinelt
a058bbdec8
Merge pull request #123175 from fabaff/py-canary
python3Packages.py-canary: init 0.5.1
2021-05-17 17:42:58 +02:00
Martin Weinelt
97f0aed2a0
Merge pull request #123174 from fabaff/pydelijn 2021-05-17 17:41:15 +02:00
Martin Weinelt
5cd6410fef
Merge pull request #123166 from fabaff/pyobihai 2021-05-17 17:38:08 +02:00
Martin Weinelt
c5f1d219a4
Merge pull request #123151 from fabaff/prayer-times-calculator 2021-05-17 17:36:25 +02:00
Fabian Affolter
f9f076aab0 home-assistant: enable yandex_transport tests 2021-05-17 16:58:51 +02:00
Fabian Affolter
8355d5cba4 home-assistant: update component-packages 2021-05-17 16:58:51 +02:00
Fabian Affolter
468fda7daa home-assistant: enable islamic_prayer_times tests 2021-05-17 08:22:13 +02:00
Fabian Affolter
c96787585e home-assistant: update component-packages 2021-05-17 08:22:12 +02:00
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
Fabian Affolter
32aaf7c6f2 home-assistant: enable philips_js tests 2021-05-16 01:58:57 +02:00
Fabian Affolter
a377888aeb home-assistant: update component-packages 2021-05-16 01:57:15 +02:00
Fabian Affolter
9b6fa65134 home-assistant: enable ovo_energy tests 2021-05-16 01:09:42 +02:00
Fabian Affolter
ea2ab251ed home-assistant: update component-packages 2021-05-16 01:09:42 +02:00
Fabian Affolter
8ddf12114e home-assistant: enable canary tests 2021-05-16 00:53:40 +02:00
Fabian Affolter
8ccd1189ae home-assistant: update component-packages 2021-05-16 00:53:24 +02:00
Fabian Affolter
0b6798421c home-assistant: update component-packages 2021-05-16 00:28:38 +02:00
Fabian Affolter
03809fde5c home-assistant: update component-packages 2021-05-15 23:34:02 +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