hass-core/tests
Brynley McDonald e2b622fb78
Add Flick Electric NZ integration (#30696)
* Add integration for Flick Electric NZ

* Start adding Config Flow and external API

* Second Wave of Config Flow and API implementation

* Fix test (errors is None instead of blank array?)

* Don't update sensor if price is still valid

* Add input validation

* Fix linting for DOMAIN

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Remove platform schema (config is by entries only)

* Don't catch AbortFlow exception

Co-Authored-By: Martin Hjelmare <marhje52@gmail.com>

* Update test

* Re-arrange try-catch in config flow

* Fix linting in sensor.py

* Staticly define list of components

* Fix test exceptions

* Fix _validate_input not being awaited

* Fix tests

* Fix pylint logger

* Rename test and remove print debug

* Add test for duplicate entry

* Don't format string in log function

* Add tests __init__ file

* Remove duplicate result assignment

* Add test for generic exception handling

* Move translations folder

* Simplify testing

* Fix strings/translation

* Move to "flick_electric" as domain

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-09 22:13:06 -04:00
..
auth Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
components Add Flick Electric NZ integration (#30696) 2020-05-09 22:13:06 -04:00
fixtures Make roku async (#35104) 2020-05-08 16:44:34 -05:00
hassfest Make Hassfest stricter pt 2 (#30068) 2019-12-19 14:00:22 +01:00
helpers async_get_url -> get_url (#35382) 2020-05-08 21:53:28 +02:00
mock Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
resources Revised package util tests 2016-01-30 14:08:32 -05:00
scripts Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_util Fix docstring in test_utils/aiohttp.py (#34040) 2020-04-11 20:20:19 +02:00
testing_config Address new issues flagged by flake8 3.8.0a2 (#34964) 2020-04-30 21:37:58 +02:00
util Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +02:00
__init__.py async HTTP component (#3914) 2016-10-23 23:48:01 -07:00
async_mock.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
bandit.yaml Enable some more bandit checks (#30857) 2020-01-20 18:44:55 +02:00
common.py Use a future for mock coro (#34989) 2020-04-30 16:31:00 -07:00
conftest.py Fail tests if wrapped callbacks or coroutines throw (#35010) 2020-05-06 14:14:57 -07:00
ignore_uncaught_exceptions.py Fix broken CI (#35314) 2020-05-06 18:40:21 -07:00
test_bootstrap.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_config.py Add get_url helper, deprecate base_url (#35224) 2020-05-08 02:29:47 +02:00
test_config_entries.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_core.py Detect use of deprecated base_url (#35353) 2020-05-08 17:52:32 +02:00
test_data_entry_flow.py Add current step that is in progress (#35272) 2020-05-05 21:34:51 -07:00
test_loader.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_main.py Use asynctest-mock in most places (#35109) 2020-05-03 11:27:19 -07:00
test_requirements.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00
test_setup.py Use built-in test helpers on 3.8 (#34901) 2020-04-30 13:29:50 -07:00