Skip to content

Commit

Permalink
await in test again
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt committed Aug 10, 2023
1 parent 98390a5 commit 2f0223d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 22 deletions.
38 changes: 16 additions & 22 deletions .github/workflows/pytest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,32 +14,26 @@ jobs:
fail-fast: false
matrix:
include:
# - python-version: "3.10"
# core-version: "2022.11.5"
# - python-version: "3.10"
# core-version: "2022.12.9"
# - python-version: "3.10"
# core-version: "2023.1.7"
# - python-version: "3.10"
# core-version: "2023.2.5"
# - python-version: "3.10"
# core-version: "2023.3.6"
# - python-version: "3.10"
# core-version: "2023.4.6"
# - python-version: "3.10"
# core-version: "2023.5.2"
- python-version: "3.10"
core-version: "2022.11.5"
- python-version: "3.10"
core-version: "2022.12.9"
- python-version: "3.10"
core-version: "2023.1.7"
- python-version: "3.10"
core-version: "2023.2.5"
- python-version: "3.10"
core-version: "2023.3.6"
- python-version: "3.10"
core-version: "2023.4.6"
- python-version: "3.10"
core-version: "2023.5.4"
- python-version: "3.11"
core-version: "2023.6.1"
core-version: "2023.6.3"
- python-version: "3.11"
core-version: "2023.7.3"
- python-version: "3.11"
n: "0"
core-version: "3a06659120aa629e0db290ec9e83e2ad129baaf3"
- python-version: "3.11"
n: "4"
core-version: "c76fac0633749e8f463f9b6c22a4d47bba5ba1e7"
- python-version: "3.11"
core-version: "2023.8.0"
core-version: "2023.8.1"
- python-version: "3.11"
core-version: "dev"
steps:
Expand Down
1 change: 1 addition & 0 deletions tests/test_switch.py
Original file line number Diff line number Diff line change
Expand Up @@ -766,6 +766,7 @@ async def test_auto_reset_manual_control(hass):

async def update():
await switch._update_attrs_and_maybe_adapt_lights(context=context, transition=0)
await asyncio.gather(*switch.manager.adaptation_tasks)
await hass.async_block_till_done()

async def turn_light(state, **kwargs):
Expand Down

0 comments on commit 2f0223d

Please sign in to comment.