epenet
f66b539027
Add missing hass type hint in component tests (s) ( #124272 )
2024-08-20 12:53:29 +02:00
epenet
0bb8c4832d
Enable raise-within-try (TRY301) rule in ruff ( #123351 )
2024-08-12 09:16:33 +02:00
epenet
ad26db7dc8
Replace pylint broad-exception-raised rule with ruff ( #123021 )
2024-08-02 12:24:03 +02:00
Marc Mueller
a6068dcdf2
Update import locations in tests ( #122216 )
2024-07-20 11:16:04 +02:00
epenet
3e9d25f81d
Add missing argument type hints to component tests ( #119671 )
2024-06-14 09:26:46 +02:00
epenet
4b29c35453
Tweak logging statements in tests ( #119664 )
2024-06-14 08:28:47 +02:00
epenet
2a7e78a80f
Ignore broad-exception-raised pylint warnings in tests ( #119468 )
2024-06-12 12:21:41 +02:00
Sid
2cc916db6d
Replace pylint broad-except with Ruff BLE001 ( #116250 )
2024-05-07 14:00:27 +02:00
J. Nick Koston
657bc969a3
Improve performance of system_log traceback handling ( #114992 )
2024-04-05 16:47:17 -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
J. Nick Koston
bbef3f7f68
Only extract traceback once in system_log ( #113201 )
2024-03-13 11:58:34 +01:00
Marc Mueller
7d6251ca08
Add empty line after module docstring [tests q-s] ( #112711 )
2024-03-08 14:47:22 +01:00
J. Nick Koston
59daceafd2
Avoid calling extract_stack in system_log since it does blocking I/O ( #100455 )
2023-09-21 09:48:41 +02:00
J. Nick Koston
73714a6656
Ensure system log does not raise while processing logger messages ( #90652 )
2023-04-02 15:18:50 -10:00
epenet
ba85fdcd61
Add type hints to integration tests (q-s) ( #87706 )
2023-02-08 08:12:54 -08:00
J. Nick Koston
9c8a919e3f
Remove system_log missing format arg test ( #80739 )
2022-10-21 14:49:39 -04:00
J. Nick Koston
fe67703e13
Log invalid messages instead of raising in system_log ( #80645 )
2022-10-21 10:52:03 -04:00
J. Nick Koston
bf852812bc
Fix flapping system log test ( #78391 )
...
Since we run tests with asyncio debug on, there is
a chance we will get an asyncio log message instead
of the one we want
Fixes https://github.com/home-assistant/core/actions/runs/3045080236/jobs/4906717578
2022-09-13 23:10:50 +03:00
J. Nick Koston
08ff1b8986
Fix flapping system log test ( #75111 )
2022-07-14 11:05:52 +02:00
Allen Porter
ff324ab2fb
Attempt to fix flaky test by waiting for setup to complete ( #74734 )
2022-07-08 09:50:56 -07:00
Marc Mueller
62a5854e40
Fix bare except ( #72906 )
2022-06-02 13:58:04 +02:00
Paulus Schoutsen
7943b0ff5e
Remove http dependency from system log ( #64386 )
2022-01-18 14:10:14 -08:00
Ville Skyttä
50e0c58310
Use http.HTTPStatus in components/s* ( #58291 )
2021-10-23 20:49:04 +02:00
Franck Nijhof
ad13a9295e
Merge multiple context managers in tests ( #48146 )
2021-03-27 09:17:15 +01:00
Franck Nijhof
65cf2fcb6f
Drop asynctest ( #44746 )
2021-01-01 22:31:56 +01:00
J. Nick Koston
61262222aa
Remove async_add_job from system_log tests ( #41551 )
2020-10-09 15:50:43 +02:00
J. Nick Koston
2e1dbe51a4
Make system_log test reliable ( #40049 )
2020-09-14 08:48:59 +02:00
Bas Nijholt
0427d87ba4
Bump codespell from v1.16.0 to v1.17.1 and fix new spelling errors ( #38663 )
2020-08-08 14:41:02 +02:00
J. Nick Koston
e208d8b93e
Move system log processing out of the event loop ( #38445 )
2020-08-04 21:21:45 +02:00
Paulus Schoutsen
2af984917e
Use asynctest-mock in most places ( #35109 )
...
* Use asynctest-mock in most places
* Fix broken patch in pilight
2020-05-03 11:27:19 -07:00
Ville Skyttä
435a88636a
Address new issues flagged by flake8 3.8.0a2 ( #34964 )
2020-04-30 21:37:58 +02:00
Jason Lachowsky
77b3f31e9b
Corrected minor misspellings ( #32857 )
2020-03-16 11:58:12 +01:00
Paulus Schoutsen
8f6651af3d
Update system log grouping ( #32367 )
2020-03-03 13:55:15 -08:00
Paulus Schoutsen
3da136b034
Add logger name to system log ( #31902 )
2020-02-17 17:26:25 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ( #30500 )
...
* Be consistent with Home Assistant spelling
* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
23b92b2a56
Sort imports according to PEP8 for components starting with "S" ( #29777 )
2019-12-09 14:38:01 +01:00
Paulus Schoutsen
4de97abc3a
Black
2019-07-31 12:25:30 -07:00
Diogo Gomes
b0f317743b
ordered by last occurence ( #21200 )
2019-02-19 08:45:21 -08:00
Diogo Gomes
e0f63132e8
Deduplication of log entries in system_log ( #20493 )
...
* Deduplication of log entries
* fix
2019-02-07 13:32:37 -08:00
Paulus Schoutsen
b8cc547fa3
Move components to folders ( #20774 )
...
* Move all components into folders
* Move component tests into folders
* Fix init moving
* Move tests
* Lint
* Update coverage
* Fix service descriptions
* Update CODEOWNERS
2019-02-05 19:31:15 -08:00