Paulus Schoutsen
6714392e9c
Move elevation to core config and clean up HTTP mocking in tests ( #2378 )
...
* Stick version numbers
* Move elevation to core config
* Migrate forecast test to requests-mock
* Migrate YR tests to requests-mock
* Add requests_mock to requirements_test.txt
* Move conf code from bootstrap to config
* More config fixes
* Fix some more issues
* Add test for set config and failing auto detect
2016-06-27 09:02:45 -07:00
Paulus Schoutsen
15e329a588
Tons of fixes - WIP
2016-05-21 15:01:33 -07:00
Paulus Schoutsen
2e79e9d5bb
Correct celcius to celsius ( #1860 )
2016-04-19 20:30:44 -07:00
Jan Harkes
9e0e61fec9
Trying to fix failing sun component tests. ( #1741 )
...
Make sure we set a timezone to make UTC calculations predictable
and don't override the location of the test_home_assistant config.
2016-04-07 18:32:21 -07:00
Jan Harkes
58ea589f99
Fixes for mqtt config validation tests.
2016-04-06 22:51:38 -04:00
Jan Harkes
8cca2bb344
Config validation for MQTT
2016-04-06 22:51:38 -04:00
Paulus Schoutsen
f6d584af09
Allow platforms to specify PLATFORM_SCHEMA
2016-04-02 20:10:57 -07:00
Paulus Schoutsen
8ceab5d4ba
Add extra tests
2016-03-29 22:50:38 -07:00
Paulus Schoutsen
25269cdb6b
Add tests for bootstrap config validation
2016-03-29 00:17:53 -07:00
Fabian Affolter
f22a40c3e8
Fix PEP257 issues
2016-03-09 11:15:04 +01:00
Fabian Affolter
9838697d2b
Fix PEP257 issues
2016-03-09 10:25:50 +01:00
Paulus Schoutsen
1bfea626ff
Handle circular setup dependency
2016-02-19 23:20:14 -08:00
Paulus Schoutsen
dd2aec0a08
Restructure tests to ensure unique ports
2016-02-14 12:54:16 -08:00
Fabian Affolter
00afaac54c
Update for file header, docstrings, and PEP8/PEP257
2016-02-13 14:19:11 +01:00
Paulus Schoutsen
a5db23afa4
Mock util.location by default
2016-02-04 22:26:02 -08:00
Paulus Schoutsen
90e17fc77f
Add tests for entity component
2016-01-31 01:01:23 -08:00
Paulus Schoutsen
716376081d
Add tests for MQTT alarm
2015-10-13 23:08:12 -07:00
Paulus Schoutsen
d35f5b9f97
Tests for MQTT sensor/switch
2015-10-02 23:57:26 -07:00
Paulus Schoutsen
cfc23b0091
Speed up tests
2015-09-12 22:56:49 -07:00
Paulus Schoutsen
4ccedca3e5
Fix tests for device tracker
2015-09-12 09:15:28 -07:00
Paulus Schoutsen
58afbecd05
Speed up tests
2015-09-01 00:18:26 -07:00
Paulus Schoutsen
1b89a502c4
Extract core into own submodule
2015-08-16 20:44:46 -07:00
Paulus Schoutsen
60abaa585c
Add test for bootstrap
2015-08-11 08:20:13 -07:00
Paulus Schoutsen
291cc62381
Add automation mqtt tests
2015-08-10 23:11:46 -07:00
Paulus Schoutsen
76f63ee262
Clean up test code
2015-08-03 17:57:12 +02:00
Paulus Schoutsen
0c56fde5a9
Reorg tests folder
2015-07-26 10:17:01 +02:00