9446119246
Speed up the freezegun module scan in tests ( #179935 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-08-24 10:09:43 +02:00
bb78cabc62
Disable DBus probing for all tests, not just the bluetooth ones ( #179844 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-08-22 19:49:22 +02:00
Oluwatobi Mustapha and GitHub
ffbc5b07f2
Remove Supervisor refresh tokens ( #179219 )
2026-08-21 11:49:31 +02:00
fc878e9a30
Update calls to MockHAClientWebSocket.remove_device in tests ( #178745 )
...
Co-authored-by: jbouwh <jan@jbsoft.nl >
2026-08-12 10:57:59 +02:00
Erik Montnemery and GitHub
62b347de97
Add WS command config/device_registry/remove ( #178319 )
2026-08-11 11:20:48 +02:00
Marc Mueller and GitHub
22b8a752f8
Update pylint to 4.0.7 ( #178636 )
2026-08-10 13:01:34 +02:00
a69a6893c0
Revert unusable pending HTTP config in place during setup ( #176384 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
Co-authored-by: Robert Resch <robert@resch.dev >
2026-07-16 10:09:37 +02:00
Ariel Ebersberger and GitHub
5b8c8578e4
Update syrupy to 5.5.1 ( #176489 )
2026-07-14 17:46:20 +02:00
Mike Degatano and GitHub
53a50594b9
Refactor SupervisorIssues into a DataUpdateCoordinator ( #176054 )
2026-07-10 21:26:04 +02:00
Robert Resch and Martin Hjelmare
08094cb8b8
Migrate http config to ui ( #171177 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-07-02 09:27:57 +00:00
Jan Bouwhuis and GitHub
f49de3548e
Add MQTT message expiry interval option ( #171143 )
2026-05-22 18:27:22 +02:00
Erik Montnemery and GitHub
cafcbf8179
Improve bluetooth test fixture ( #171061 )
2026-05-18 21:17:50 +02:00
d5d50ac11a
Set subscription identifier to allow matching duplicate payloads with overlapping subscriptions ( #169604 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-18 11:27:05 +02:00
9a1fd913bf
Fix line length violations in tests (non-components) ( #170804 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: frenck <195327+frenck@users.noreply.github.com >
2026-05-17 10:30:45 -04:00
Franck Nijhof and GitHub
555d838290
Enable ruff B010 rule and replace setattr with direct attribute assignmet ( #170527 )
2026-05-13 23:39:32 +02:00
Franck Nijhof and GitHub
1e8a9ded70
Refactor pylint plugins into pylint_home_assistant package ( #170521 )
2026-05-13 17:12:19 -04:00
284478f620
Add Message Expire Interval option to MQTT publish service ( #169317 )
...
Co-authored-by: Copilot <copilot@github.com >
2026-05-11 13:01:06 +02:00
Jan Bouwhuis and GitHub
046298f2ca
No need for a local import of the paho mqtt client ( #169925 )
2026-05-06 22:45:36 +02:00
2f1dd3a817
Deprecate MQTT protocol versions 3.x and migrate to version 5 ( #169759 )
...
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com >
2026-05-05 13:43:18 +02:00
epenet and GitHub
88525955ce
Remove import annotations from tests ( #169527 )
2026-04-30 09:30:46 +02:00
e13b63342e
Disable DNS queries in tests ( #165603 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-04-21 20:42:30 +02:00
Marc Mueller and GitHub
bf4773d9bc
Fix asyncio loop scopes for pytest fixtures ( #166758 )
2026-04-02 22:25:17 +02:00
Mike Degatano and GitHub
15d0a01833
Replace calls to ingress panels API with aiohasupervisor ( #166400 )
2026-03-25 16:42:32 +01:00
63a09d8e28
Replace calls to set options in Supervisor with aiohasupervisor ( #165872 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-03-23 13:18:37 +01:00
39b44445ec
Use aiohasupervisor for all calls from hassio/coordinator ( #164413 )
...
Co-authored-by: Stefan Agner <stefan@agner.ch >
2026-03-17 01:06:56 +01:00
f163576e78
Fail more tests when pytest_socket.SocketBlockedError is raised ( #155398 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2026-03-11 00:00:00 +01:00
epenet and GitHub
a301a9c4b6
Always include homeassistant translations in tests ( #162850 )
2026-02-13 20:17:48 +01:00
Erik Montnemery and GitHub
490514c274
Add fixture to give tests their own unique copy of testing_config ( #162938 )
2026-02-13 18:07:18 +01:00
31fa69b609
Fix evict_faked_translations fixture ( #159419 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com >
2025-12-19 14:00:58 +01:00
Erik Montnemery and GitHub
967467664b
Disable automatic start of HTTP server in tests ( #155857 )
2025-11-06 08:37:04 +01:00
Erik Montnemery and GitHub
f524edc4b9
Add pytest command line option to drop recorder db before test ( #153527 )
2025-10-05 22:36:24 +02:00
4011d62ac7
Improve enable_migrate_event_ids recorder test fixture ( #153470 )
...
Co-authored-by: J. Nick Koston <nick@koston.org >
2025-10-02 21:03:26 +02:00
Erik Montnemery and GitHub
7f63ba2087
Improve saved state of RestoreSensor when using freezegun ( #152740 )
2025-09-30 18:27:56 +02:00
J. Nick Koston and GitHub
c1eb492616
Fix Bluetooth mock to prevent degraded mode repair issues in tests ( #152081 )
2025-09-10 17:19:15 -05:00
epenet and GitHub
a7ca618327
Check badly formatted dhcp addresses in tests ( #147814 )
2025-09-04 13:43:51 +01:00
Erik Montnemery and GitHub
210ec28f0a
Fix bluetooth tests ( #150978 )
2025-08-21 09:38:42 +02:00
Joakim Plate and GitHub
98e6e20079
Mock habluetooth adapters ( #148919 )
2025-08-12 10:46:31 -05:00
epenet and GitHub
e47bdc06a0
Set docstyle convention to google in ruff ( #148142 )
2025-07-04 16:00:37 +02:00
Marc Mueller and GitHub
2c13c70e12
Update ruff to 0.12.0 ( #147106 )
2025-06-19 20:39:09 +02:00
Marc Mueller and GitHub
10874af19a
Ignore lingering pycares shutdown thread ( #146733 )
2025-06-13 15:09:37 +02:00
Marc Mueller and GitHub
5e377b89fc
Update pytest-asyncio to 1.0.0 ( #145988 )
...
* Update pytest-asyncio to 1.0.0
* Remove event_loop fixture uses
2025-06-02 06:12:22 +02:00
Erik Montnemery and GitHub
8e74f63d47
Create repair issue if not all add-ons or folders were backed up ( #144999 )
...
* Create repair issue if not all add-ons or folders were backed up
* Fix spelling
* Fix _collect_errors
* Make time patching by freezegun work with mashumaro
* Addd test to hassio
* Add fixture
* Fix generating list of folders
* Add issue creation tests
* Include name of failing add-on in message
* Improve code formatting
* Rename AddonError to AddonErrorData
2025-05-20 15:23:52 +02:00
Erik Montnemery and GitHub
36a08d04c5
Fail tests which JSON serialize mocks ( #144261 )
...
* Fail tests which JSON serialize mocks
* Patch JSON helper earlier
* Check type instead of attribute
2025-05-05 19:06:54 +02:00
J. Nick Koston and GitHub
2890fc7dd2
Only create a single resolver object if there are multiple aiohttp sessions ( #144090 )
2025-05-02 13:43:06 -05:00
Stefan Agner and GitHub
f1b8c8855e
Push country config to Supervisor ( #143871 )
2025-04-30 18:02:18 +02:00
Erik Montnemery and GitHub
f7a9319122
Don't attempt to garbage collect objects leaked by previous modules ( #143944 )
2025-04-30 14:52:50 +02:00
J. Nick Koston and GitHub
9c3b0952e0
Turn off autospec for zeroconf mocks ( #143879 )
2025-04-29 16:45:58 +02:00
J. Nick Koston and GitHub
36081c69e0
Break apart zeroconf integration to prepare for WebSocket API ( #143490 )
2025-04-23 07:47:37 -10:00
J. Nick Koston and GitHub
9b1ab34352
Fix hassio mocking in ESPHome dashboard tests ( #143212 )
2025-04-18 14:11:36 +02:00
Erik Montnemery and GitHub
86622cd29d
Remove unnecessary imports of http integration ( #141899 )
...
* Remove unnecessary imports of http integration
* Check reason for test failures
* Revert "Check reason for test failures"
This reverts commit 5ccf356ab0 .
* Update tests
2025-03-31 11:30:20 +01:00