Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01:00
Jose Juan Montes
65d255a626
Local file camera now supports yet inexisting files. ( #6157 )
2017-02-26 21:16:11 -08:00
Pascal Vizeli
ece58ce78f
Remove ThreadPool with async executor ( #4154 )
...
* Remove ThreadPool with async executor
* Fix zigbee
* update unittest
* fix remote api
* add pending task to remote
* fix lint
* remove unused import
* remove old stuff for lazy tests
* fix bug and add a exception handler to executor
* change executor handling
* change to wait from gather
* fix unittest
2016-11-05 09:27:55 -07:00
Paulus Schoutsen
7f699b4261
Lazy initialise the worker pool ( #4110 )
...
* Lazy initialise the worker pool
* Minimize pool initialization in core tests
* Fix tests on Python 3.4
* Remove passing in thread count to mock HASS
* Tests: Allow pool by default for threaded, disable for async
* Remove JobPriority for thread pool
* Fix wrong block_till_done
* EmulatedHue: Remove unused test code
* Zigbee: do not touch hass.pool
* Init loop in add_job
* Fix core test
* Fix random sensor test
2016-10-31 08:47:29 -07:00
Paulus Schoutsen
519d9f2fd0
async HTTP component ( #3914 )
...
* Migrate WSGI to asyncio
* Rename wsgi -> http
* Python 3.4 compat
* Move linting to Python 3.4
* lint
* Lint
* Fix Python 3.4 mock_open + binary data
* Surpress logging aiohttp.access
* Spelling
* Sending files is a coroutine
* More callback annotations and naming fixes
* Fix ios
2016-10-23 23:48:01 -07:00
Rob Capellini
272539105f
Replacing tempfile with mock_open in tests ( #3753 )
...
- test_bootstrap.py
- test_config.py
- components/test_init.py
- components/test_panel_custom.py
- components/test_api.py
- components/notify/test_file.py
- components/notify/test_demo.py
- components/camera/test_local_file.py
- helpers/test_config_validation.py
- util/test_package.py
- util/test_yaml.py
No changes needed in:
- components/cover/test_command_line.py
- components/switch/test_command_line.py
- components/rollershutter/test_command_line.py
- components/test_shell_command.py
- components/notify/test_command_line.py
Misc changes in:
- components/mqtt/test_server.py
Also, removed some unused mock parameters in tests/components/mqtt/test_server.py.
2016-10-17 20:16:36 -07:00
Johann Kellerman
7b40a641ec
Continue on invalid platforms and new setup_component unit tests ( #3736 )
2016-10-08 11:27:35 -07:00
Pascal Vizeli
5036bb0bc6
improve isfile validation check ( #3101 )
2016-09-01 14:35:00 +01:00
Landrash
34f57ebdc9
Fix reference to wrong components in tests for cameras ( #1 ) ( #2975 )
...
🐬 👍
2016-08-25 10:55:37 -06:00
Paulus Schoutsen
aa6a0523ef
Add template support to generic camera + local file tests ( #2881 )
...
* Add template support to generic camera
* Add tests for local file
2016-08-20 23:04:55 -07:00