mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 00:51:53 +08:00
separate region exceptions
This commit is contained in:
@@ -24,10 +24,14 @@ import asyncio
|
||||
|
||||
import pytest
|
||||
|
||||
from kvmd.aioregion import RegionIsBusyError
|
||||
from kvmd.aioregion import AioExclusiveRegion
|
||||
|
||||
|
||||
# =====
|
||||
class RegionIsBusyError(Exception):
|
||||
pass
|
||||
|
||||
|
||||
# =====
|
||||
@pytest.mark.asyncio
|
||||
async def test_ok__access_one() -> None:
|
||||
|
||||
Reference in New Issue
Block a user