MCPcopy Index your code
hub / github.com/AstrBotDevs/AstrBot / test_empty_session_id

Method test_empty_session_id

tests/unit/test_session_lock.py:445–452  ·  view source on GitHub ↗

Test with empty session ID.

(self)

Source from the content-addressed store, hash-verified

443
444 @pytest.mark.asyncio
445 async def test_empty_session_id(self):
446 """Test with empty session ID."""
447 manager = SessionLockManager()
448
449 async with manager.acquire_lock(""):
450 pass
451
452 # Should work without issues
453
454 @pytest.mark.asyncio
455 async def test_special_characters_in_session_id(self):

Callers

nothing calls this directly

Calls 2

acquire_lockMethod · 0.95
SessionLockManagerClass · 0.90

Tested by

no test coverage detected