Commit Graph

9 Commits (e2f6fbd59b4f7f2bdd20617fb65fce5edf90a4df)

Author SHA1 Message Date
Marc Mueller 544d6b05a5
Replace mock_coro with AsyncMock ()
* Replace mock_coro with AsyncMock

* Remove mock_coro test helper function

* Remove redundant AsyncMock
2023-08-25 22:54:55 +02:00
epenet aa20c902db
Add typed helpers and improve type hints in util/json ()
* Add type hints to load_json

* Adjust ios

* Adjust nest

* Add use of load_json_array

* Add tests

* Adjust test patch

* Add test_load_json_os_error
2023-02-22 10:09:28 +01:00
epenet 37a2040d7b
Add type hints to integration tests (h-i) () 2023-02-08 18:12:56 +01:00
Ziv a2b280f342
Fix uncaught exceptions in ios ()
* verify that the config in hass is not empty

* changed to use MockConfigEntry

* Update tests/components/ios/test_init.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/ios/test_init.py

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* changed the test per suggestions

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-04-17 10:25:31 +02:00
Bas Nijholt 14779ce3d0 Sort imports according to PEP8 for components starting with "I" () 2019-12-09 14:21:24 +01:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Paulus Schoutsen ec57db78b5
Consolidate config flow components ()
* Consolidate config flow components

* Fix tests

* Fix tests

* Put unifi back

* Fix reqs

* Update coveragerc
2019-02-01 15:45:44 -08:00
Paulus Schoutsen 8b42d0c471 Add confirmation to Cast/Sonos/iOS config entries ()
* Add confirmation to Cast/Sonos/iOS config entries

* Remove redundant code
2018-09-21 16:34:37 +02:00
Paulus Schoutsen 3824582e68
Add config entry to iOS ()
* Add config entry to iOS

* Add translation
2018-09-12 20:17:52 +02:00