mirror of
https://github.com/basnijholt/adaptive-lighting.git
synced 2026-09-28 04:44:39 +02:00
Update Ruff to be used in tests (#943)
* Update Ruff config * Rerun ruff
This commit is contained in:
parent
36a5a51405
commit
f2a124c30f
7 changed files with 196 additions and 101 deletions
|
|
@ -14,7 +14,7 @@ async def test_setup_with_config(hass):
|
|||
config = {
|
||||
adaptive_lighting.DOMAIN: {
|
||||
adaptive_lighting.CONF_NAME: DEFAULT_NAME,
|
||||
}
|
||||
},
|
||||
}
|
||||
assert await async_setup_component(hass, adaptive_lighting.DOMAIN, config)
|
||||
assert adaptive_lighting.DOMAIN in hass.data
|
||||
|
|
@ -22,7 +22,6 @@ async def test_setup_with_config(hass):
|
|||
|
||||
async def test_successful_config_entry(hass):
|
||||
"""Test that Adaptive Lighting is configured successfully."""
|
||||
|
||||
entry = MockConfigEntry(
|
||||
domain=adaptive_lighting.DOMAIN,
|
||||
data={CONF_NAME: DEFAULT_NAME},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue