Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Paulus Schoutsen
ec47216388
Use built-in test helpers on 3.8 ( #34901 )
2020-04-30 13:29:50 -07:00
Ziv
cedf7e3945
Fix unhandled exceptions for config, default_config, harmony ( #33731 )
...
* replaced MagicMock with CoroutineMock to avoid exception
* added conversion to str so mock returns unique-id that doesn't throw json exception
* added non-empty config since hass throws exception when config is empty
2020-04-06 13:36:49 +02:00
Paulus Schoutsen
1f0f62de7f
Add unique IDs to automation/scenes ( #31150 )
...
* Add unique IDs to automation and scenes
* Fix typo
2020-01-26 23:01:35 -08:00
Franck Nijhof
320dc52bb3
Migrate config tests from coroutine to async/await ( #30366 )
2020-01-01 17:16:27 -06:00
Bas Nijholt
f355570f17
use isort to sort imports according to PEP8 for config ( #29628 )
2019-12-08 22:27:28 +05:30
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Paulus Schoutsen
d1a621601d
No more opt-out auth ( #18854 )
...
* No more opt-out auth
* Fix var
2018-12-02 16:32:53 +01:00
Paulus Schoutsen
89a19c89a7
Fix aiohttp deprecation warnings ( #13240 )
...
* Fix aiohttp deprecation warnings
* Fix Ring deprecation warning
* Lint
2018-03-15 21:49:49 +01:00
Andrey
4ebc52ab52
Reload groups after saving a change via config API ( #10877 )
2017-12-01 12:53:46 -08:00
Paulus Schoutsen
81aaeaaf11
Get rid of mock http component app ( #7775 )
...
* Remove mock_http_component from config tests
* Remove mock_http_component_app from emulated hue test
2017-05-25 21:13:53 -07:00
Paulus Schoutsen
34a7aa2376
Extend test for group config
2017-02-23 21:57:48 -08:00
Paulus Schoutsen
32873508b7
Add initial group config ( #6135 )
2017-02-20 21:53:55 -08:00