epenet
7b1b229718
Standardize homeassistant imports in component tests (a-l) ( #136806 )
2025-01-29 10:00:45 +01:00
epenet
bdd3aa8e39
Use start_reauth helper method in config flow tests (a-d) ( #124780 )
...
* Use start_reauth helper method in integration tests (a-d)
* Revert broadlink
* Revert bthome
2024-08-28 15:48:36 +02:00
Marc Mueller
2f0dd6f704
Import Generator from collections.abc (2) ( #120915 )
2024-07-01 11:58:49 +02:00
epenet
31157828e1
Improve type hints in cloudflare tests ( #120344 )
2024-06-24 18:55:36 +02:00
epenet
97e19cb61c
Fix dangerous-default-value warnings in cloudflare tests ( #119598 )
2024-06-13 17:00:18 +02:00
Sid
721b2c2ca8
Enable Ruff PT012 ( #113957 )
2024-06-08 17:59:08 +02:00
epenet
492b158818
Add return type hints in tests (a-i) ( #118939 )
2024-06-06 12:17:08 +02:00
epenet
166c588cac
Add LogCaptureFixture type hints in tests ( #118372 )
2024-05-29 14:10:00 +02:00
Joost Lekkerkerker
9b41e3d124
Use is in enum comparison in config flow tests A-E ( #114669 )
2024-04-02 11:22:05 -10:00
Joost Lekkerkerker
6bb4e7d62c
Bump ruff to 0.3.4 ( #112690 )
...
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
Sid
00ec7f11f0
Enable Ruff rule PT007 ( #113764 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2024-03-19 09:01:07 +01:00
J. Nick Koston
65358c129a
Replace periodic tasks with background tasks ( #112726 )
...
* Phase out periodic tasks
* false by default or some tests will block forever, will need to fix each one manually
* kwarg works
* kwarg works
* kwarg works
* fixes
* fix more tests
* fix more tests
* fix lifx
* opensky
* pvpc_hourly_pricing
* adjust more
* adjust more
* smarttub
* adjust more
* adjust more
* adjust more
* adjust more
* adjust
* no eager executor
* zha
* qnap_qsw
* fix more
* fix fix
* docs
* its a wrapper now
* add more coverage
* coverage
* cover all combos
* more fixes
* more fixes
* more fixes
* remaining issues are legit bugs in tests
* make tplink test more predictable
* more fixes
* feedreader
* grind out some more
* make test race safe
* one more
2024-03-08 21:45:10 -05:00
Marc Mueller
aa16a9d707
Add empty line after module docstring (3) ( #112750 )
2024-03-08 20:38:34 +01:00
Marc Mueller
32f3f46542
Add empty line after module docstring (2) [tests.components] ( #112737 )
2024-03-08 19:16:21 +01:00
Marc Mueller
38adfbf1a3
Add empty line after module docstring [tests a-e] ( #112708 )
2024-03-08 08:50:25 -05:00
J. Nick Koston
6abb8ae273
Migrate setup to use eager tasks ( #111619 )
2024-02-27 12:43:32 -10:00
J. Nick Koston
955c70b8f1
Fix cloudflare tests using a dict for the unique id ( #107601 )
...
fix cloudflare tests using a dict for the unique id
2024-01-09 07:59:29 +01:00
Joakim Sørensen
6d567c3e0a
Bump pycfdns from 2.0.1 to 3.0.0 ( #103426 )
2023-11-06 11:05:44 +01:00
epenet
fa7acb4f0d
Add type hints to integration tests (part 3) ( #87844 )
2023-02-10 16:05:01 +01:00
epenet
807c69f621
Add type hints to integration tests (b-c) ( #87698 )
2023-02-08 18:08:43 +01:00
Franck Nijhof
5e81d28116
Update black to 23.1.0 ( #87188 )
2023-02-02 18:35:24 +01:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2023-01-27 09:09:46 +01:00
Joakim Sørensen
f5c35ac0c1
Handle zone exception when setting up Cloudflare ( #85110 )
2023-01-04 14:36:41 +01:00
Joakim Sørensen
e7a616b8ff
Use location info helper for IP in Cloudflare DNS ( #81714 )
...
* Use location info helper for IP in Cloudflare DNS
* simplify
* Blow up
* coverage
2022-11-07 19:31:47 +01:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Paulus Schoutsen
a4d9019ffc
Refactor persistent notification to no longer route all data via a service ( #57157 )
...
* Convert persistent notification tests to async
* Create/dismiss persistent notifications in exposed functions, not service calls
* Fix notify persistent_notification
* Remove setting up persistent_notification
* Drop more setups
* Empty methods
* Undeprecate sync methods because too big task
* Fix setup clearing notifications
* Fix a bunch of tests
* Fix more tests
* Uno mas
* Test persistent notification events
* Clean up stale comment
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2021-10-07 12:58:00 +02:00
Milan Meulemans
debcc6689f
Activate mypy for Cloudflare ( #54041 )
2021-08-05 13:01:12 +02:00
Chris Talkington
e4fc76ac2c
Add re-authentication support to cloudflare ( #51787 )
2021-06-28 10:48:18 +02:00
Chris Talkington
bfc2995cf8
Update cloudflare test helpers ( #52235 )
2021-06-28 10:40:51 +02:00
Ville Skyttä
19d25cd901
Change config entry state to an enum ( #49654 )
...
* Change config entry state to an enum
* Allow but deprecate EntryState str equality comparison
* Test fixes
* Rename to ConfigEntryState
* Remove str comparability backcompat
* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Franck Nijhof
301d642ad8
Clean up deprecation message & config schema from Cloudflare ( #50079 )
2021-05-05 07:56:50 +02:00
Marc Mueller
54d1e9985f
Update typing 15 ( #48079 )
2021-03-18 15:13:22 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
Chris Talkington
d8577a1550
Add config flow for cloudflare ( #41167 )
...
* add config flow for cloudflare
* Create const.py
* work on flow.
* remove const.
* lint.
* Apply suggestions from code review
Co-authored-by: J. Nick Koston <nick@koston.org >
* Update config_flows.py
* Update homeassistant/components/cloudflare/strings.json
* Apply suggestions from code review
* Apply suggestions from code review
* Apply suggestions from code review
* Update strings.json
* Apply suggestions from code review
* Update __init__.py
* Update __init__.py
Co-authored-by: J. Nick Koston <nick@koston.org >
2020-10-21 09:09:00 -05:00