MCPcopy Create free account
hub / github.com/AstrBotDevs/AstrBot / test_init

Method test_init

tests/unit/test_session_lock.py:17–21  ·  view source on GitHub ↗

Test manager initialization.

(self)

Source from the content-addressed store, hash-verified

15 """Basic functionality tests."""
16
17 def test_init(self):
18 """Test manager initialization."""
19 manager = SessionLockManager()
20 assert manager._state_guard is not None
21 assert manager._loop_managers is not None
22
23 @pytest.mark.asyncio
24 async def test_acquire_release_lock(self):

Callers

nothing calls this directly

Calls 1

SessionLockManagerClass · 0.90

Tested by

no test coverage detected