1
0
mirror of https://github.com/home-assistant/core.git synced 2025-08-14 07:50:01 +00:00
Commit Graph

20 Commits

Author SHA1 Message Date
Sid
d5f883fbf0 Unignore Ruff PLR in tests ()
* Unignore Ruff PLR in tests

* Address review comments

* review comments

* fix import

* Update test_api.py

* Update test_api.py

* Update test_api.py
2024-04-01 11:11:59 +02:00
Joost Lekkerkerker
6bb4e7d62c Bump ruff to 0.3.4 ()
Co-authored-by: Sid <27780930+autinerd@users.noreply.github.com>
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-03-26 00:02:16 +01:00
Joost Lekkerkerker
7e0aac3feb Improve lists in integrations [I-K] () 2024-03-13 16:56:33 +01:00
Marc Mueller
c88b337600 Add empty line after module docstring [tests f-k] () 2024-03-08 14:50:04 +01:00
Franck Nijhof
ed79265843 Enable Ruff PT006 ()
* Enable Ruff PT006

* Adjust existing cases

* Fix tests

* Remove unneeded parentheses
2023-02-15 14:09:50 +01:00
epenet
1e352b60df Add type hints to integration tests (part 11) () 2023-02-13 14:22:49 +01:00
epenet
d313d82eb7 Fix unknown data in influxdb () 2023-01-10 16:41:16 +01:00
Sander Huisman
e7dfc89452 Add unique ID to InfluxDB sensor () 2022-02-06 18:40:37 +01:00
Mike Degatano
c1967abfca Bump influxdb-client dependency to 1.24.0 () 2022-01-05 12:45:41 +01:00
Ville Skyttä
ce1eda9809 Use http.HTTPStatus in components/[ikl]* () 2021-10-22 23:06:18 +02:00
Ville Skyttä
7d03b02192 Spelling fixes () 2021-06-11 13:35:03 +02:00
Erik Montnemery
f8755a52c2 Warn on undefined variables in templates ()
* Warn on undefined variables in templates

* Add test

* fix tests

* fix tests
2021-03-20 15:16:04 +01:00
Marc Mueller
54d1e9985f Update typing 15 () 2021-03-18 15:13:22 +01:00
Franck Nijhof
65cf2fcb6f Drop asynctest () 2021-01-01 22:31:56 +01:00
Franck Nijhof
1c2ebdf307 Upgrade black to 20.8b1 () 2020-08-27 13:56:20 +02:00
mdegat01
d60c52bbc7 Check buckets/dbs for validity during Influx sensor startup ()
* Check buckets/dbs for validity during sensor startup

* Empty array instead of none
2020-07-08 15:37:43 -04:00
mdegat01
91799e2b52 Modified Influx tests to mock test queries with accurate output () 2020-07-02 17:52:46 -07:00
mdegat01
52f3238e17 Add constant for PlatformNotReady wait time to use in tests () 2020-07-01 08:42:57 -07:00
mdegat01
24289d5dbb Refactor Influx logic to reduce V1 vs V2 code paths ()
* refactoring to share logic and sensor startup error test

* Added handling for V1 InfluxDBServerError to start-up and runtime and test for it

* Added InfluxDBServerError test to sensor setup tests

* Raising PlatformNotReady exception from sensor for setup failure

* Proper testing of PlatformNotReady error
2020-06-30 20:02:25 +02:00
mdegat01
b96ce9c210 Additional testing for InfluxDB and some quality improvements ()
* refactoring and added tests to sensor

* using caplog and not mocking main setup method in sensor tests
2020-06-29 17:31:49 +02:00