Skip to content

Commit e298450

Browse files
committed
Back to using freeze_time for both related testcases
1 parent c615c92 commit e298450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_usb.py

Lines changed: 2 additions & 2 deletions
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", real_asyncio=True)
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."""
@@ -909,7 +909,7 @@ async def test_node_relay_and_power(self, monkeypatch: pytest.MonkeyPatch) -> No
909909

910910
await stick.disconnect()
911911

912-
# @freeze_time("2025-04-03 22:00:00", real_asyncio=True)
912+
@freeze_time("2025-04-03 22:00:00", real_asyncio=True)
913913
@pytest.mark.asyncio
914914
async def test_energy_circle(self, monkeypatch: pytest.MonkeyPatch) -> None:
915915
"""Testing energy retrieval."""

0 commit comments

Comments
 (0)