Paulus Schoutsen
08fe7c3ece
Pytest tests ( #17750 )
...
* Convert core tests
* Convert component tests to use pytest assert
* Lint 🤷♂️
* Fix test
* Fix 3 typos in docs
2018-10-24 12:10:05 +02:00
Ville Skyttä
dbd0763f83
Grammar and spelling fixes ( #16065 )
2018-08-19 22:29:08 +02:00
Otto Winter
8dcfd35b8b
Spelling fixes ( #12041 )
...
* Spelling fixes
*Lots* of them.
* Spelling breaking changes
* Fix lint errors
2018-01-29 23:37:19 +01:00
Paulus Schoutsen
2650c73a89
Split bootstrap into bs + setup ( #6416 )
...
* Split bootstrap into bs + setup
* Lint
2017-03-05 10:41:54 +01:00
Pascal Vizeli
41f558b181
Bootstrap / Component setup async ( #6264 )
...
* Bootstrap / Entiy setup async
* Cleanup add_job stuff / return task/future object
* Address paulus comments / part 1
* fix install pip
* Cleanup bootstrap / move config stuff to config.py
* Make demo async
* Further bootstrap improvement
* Address Martin's comments
* Fix initial tests
* Fix final tests
* Fix bug with prepare loader
* Remove no longer needed things
* Log error when invalid config
* More cleanup
* Cleanups platform events & fix lint
* Use a non blocking add_entities callback for platform
* Fix Autoamtion is setup befor entity is ready
* Better automation fix
* Address paulus comments
* Typo
* fix lint
* rename functions
* fix tests
* fix test
* change exceptions
* fix spell
2017-02-28 20:33:19 -08:00
Paulus Schoutsen
c54517de90
Convert config.components to a set ( #5824 )
2017-02-09 20:21:57 +02: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
Pascal Vizeli
d5368f6f78
Async bootstrap / component init ( #3991 )
...
* Async bootstrap
* Adress comments
* Fix tests
* More fixes
* Tests fixes
2016-10-27 00:16:23 -07:00
Paulus Schoutsen
3e24a35c1e
Skip RFXtrx tests unless RFXTRX=RUN ( #3625 )
...
* Skip RFXtrx tests unless RFXTRX=RUN
* Remove my previous hacks to slightly speed up rfxtrx
* Exclude RFXTRX tests from coverage
* Remove unused import in rfxtrx tstt
* Add close connection back to RFXtrx tests
* Typo
2016-10-01 13:57:10 -07:00
Paulus Schoutsen
4b8bc90d16
Limit worker pool to 10 threads ( #3560 )
...
* Limit worker pool to 10 threads
* Comment evdev in requirements
* Allow skipping RFXtrx tests locally
* Fix worker pool size tests
* lol whut
2016-09-28 00:05:38 -07:00
Daniel
98550b5465
rfxtrx light tests
2016-07-17 11:14:29 +02:00
Jacob Tomlinson
ca7415e935
Added rfxtrx rollershutter ( #2030 )
...
* Added rfxtrx rollershutter
* Updated mock command with real one
* Corrected test string
2016-06-02 00:39:58 -07:00
Daniel
2ca1f7542f
Refactor rfxtrx code
2016-04-24 13:42:59 +02:00
Daniel
55b51cb3fa
Update rfxtrx tests to handle new config
2016-04-23 20:13:24 +02:00
Daniel Høyer Iversen
cac555fc69
Rfxtrx config validating ( #1747 )
...
* config validation
* Config validation of rfxtrx switch
* Config validation of rfxtrx light
* Config validation of rfxtrx
* Config validation of rfxtrx
2016-04-08 20:55:31 -07:00
Daniel
d6344d6492
Fixed close connection issue with rfxtrx device and update rfxtrx lib
2016-03-14 08:33:59 +01:00
Fabian Affolter
9838697d2b
Fix PEP257 issues
2016-03-09 10:25:50 +01:00
Paulus Schoutsen
1159360281
Skip rfxtrx tests because of speed reasons
2016-03-05 09:28:47 -08:00
Daniel
2fd0b28c53
Added tests for RFxtrx device, updated rfxtrx to ver 0.5, fixed bug in setting brightness for rfxtrx light
2016-03-02 20:36:41 +01:00