hass-core/tests
J. Nick Koston 034fabe188
Use loop time to set context (#99701)
* Use loop time to set context

loop time is faster than utcnow, and since its only used internally it can
be switched without a breaking change

* fix mocking
2023-09-06 11:04:49 +02:00
..
auth Use call_at for events instead call_later (#93431) 2023-05-24 21:04:07 +02:00
components Allow specifying a custom log function for template render (#99572) 2023-09-06 10:03:35 +02:00
fixtures Modernize SMHI weather (#97275) 2023-08-07 17:24:43 +02:00
hassfest Add type hints to core tests (#88478) 2023-02-20 11:42:56 +01:00
helpers Use loop time to set context (#99701) 2023-09-06 11:04:49 +02:00
pylint Fix pylint DeprecationWarnings (#97627) 2023-08-02 20:30:41 +02:00
resources
scripts Add default headers to webserver responses (#97784) 2023-08-06 23:25:13 -04:00
test_util Fix aiohttp test RuntimeWarning (#98568) 2023-08-17 17:42:20 +02:00
testing_config Clean out compatibility for deprecated methods in Weather (#99263) 2023-08-29 11:33:56 +02:00
util Avoid use of datetime.utc* methods deprecated in Python 3.12 (#93684) 2023-08-24 16:38:22 +02:00
__init__.py
common.py Use loop.time in DataUpdateCoordinator (#98937) 2023-08-28 10:16:34 -05:00
conftest.py Improve lingering timer checks (#99472) 2023-09-02 12:43:27 -05:00
ignore_uncaught_exceptions.py
patch_time.py Decrease event loop latency by binding time.monotonic to loop.time directly (#98288) 2023-08-13 20:37:45 -04:00
ruff.toml Move overlapping pylint rules to ruff, disable mypy overlap (#94359) 2023-06-27 17:42:46 +02:00
syrupy.py Use ReadOnlyDict for entity registry options (#93824) 2023-05-30 20:11:39 -04:00
test_bootstrap.py Replace mock_coro with AsyncMock (#99014) 2023-08-25 22:54:55 +02:00
test_config.py Remove unnnecessary pylint configs from core (#98704) 2023-08-22 23:12:12 +02:00
test_config_entries.py Reduce overhead to retry config entry setup (#99471) 2023-09-02 16:46:53 -05:00
test_core.py Validate state in template helper preview (#99455) 2023-09-04 14:10:43 +02:00
test_data_entry_flow.py Reduce in progress flow matching overhead (#94403) 2023-06-11 10:41:38 +02:00
test_exceptions.py Enable Ruff PT006 (#88165) 2023-02-15 14:09:50 +01:00
test_loader.py Add loader.async_get_loaded_integration (#99440) 2023-09-04 14:12:33 +02:00
test_main.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_requirements.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
test_runner.py Add packaging as default requirement (#97712) 2023-08-04 12:29:18 +02:00
test_setup.py Detect attempt to setup config entry integration via YAML (#93589) 2023-05-29 21:01:47 +02:00
test_test_fixtures.py Add type hints to core tests (part 2) (#88492) 2023-02-21 09:27:13 +01:00
typing.py Add MockHAClientWebSocket test helper (#87832) 2023-02-10 10:23:26 -05:00