core/tests/components/recorder
Jonathan Østrup 150b376cf9
Add recorder vars db_max_retries and db_retry_wait (#31561)
* added recorder vars db_max_retries and db_retry_wait

* fixed test_recorder_setup_failure

I failed because it was missing the two new variables. I simply added these with default values.

* fixed syntax error in test_recorder_setup_failure

* fixed formatting error in test_init_py for recorder component

* fixed typo in test case

* Updated the way the default keys for db_,max_wait and db_retry_wait is set

Implemented based on suggestions from @springstan

* Updated config_schema call to adhere to Black

* changed conf.get to conf[dict] for var retrieval

* removed 2 blank lines
2020-02-09 17:43:09 +01:00
..
__init__.py Tweak Recorder 2016-07-11 08:56:07 -07:00
models_original.py Sort imports according to PEP8 for recorder (#29652) 2019-12-08 18:48:18 +01:00
test_init.py Add recorder vars db_max_retries and db_retry_wait (#31561) 2020-02-09 17:43:09 +01:00
test_migrate.py Sort imports according to PEP8 for recorder (#29652) 2019-12-08 18:48:18 +01:00
test_models.py Sort imports according to PEP8 for recorder (#29652) 2019-12-08 18:48:18 +01:00
test_purge.py Sort imports according to PEP8 for recorder (#29652) 2019-12-08 18:48:18 +01:00
test_util.py Be consistent with Home Assistant and Hass.io spelling (#30500) 2020-01-05 14:09:17 +02:00