Skip to content

Commit 3de3af8

Browse files
committed
Use freeze_time to fix the test-datetime
1 parent 15f7556 commit 3de3af8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_usb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ async def node_init_relay_state(
780780
)
781781
)
782782

783-
@freeze_time("2025-04-03 22:00:00")
783+
@freeze_time("2025-04-03 22:00:00", real_asyncio=True)
784784
@pytest.mark.asyncio
785785
async def test_node_relay_and_power(self, monkeypatch: pytest.MonkeyPatch) -> None: # noqa: PLR0915
786786
"""Testing discovery of nodes."""

0 commit comments

Comments
 (0)