Skip to content

Commit 77ee8c1

Browse files
committed
tests: remove dynamic imports from test_alarm; all test imports are static as per AGENTS.md
1 parent 8458f5c commit 77ee8c1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

nessclient_tests/test_alarm.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -488,8 +488,6 @@ async def test_state_changes_stream(alarm):
488488
stream = alarm.stream_state_changes()
489489
task = asyncio.create_task(stream.__anext__())
490490
# Drive via public API using a system status event
491-
from nessclient.event import SystemStatusEvent
492-
493491
alarm.handle_event(
494492
SystemStatusEvent(
495493
type=SystemStatusEvent.EventType.ENTRY_DELAY_START,
@@ -509,8 +507,6 @@ async def test_state_changes_stream(alarm):
509507
async def test_zone_changes_stream(alarm):
510508
stream = alarm.stream_zone_changes()
511509
task = asyncio.create_task(stream.__anext__())
512-
from nessclient.event import SystemStatusEvent
513-
514510
alarm.handle_event(
515511
SystemStatusEvent(
516512
type=SystemStatusEvent.EventType.UNSEALED,

0 commit comments

Comments
 (0)