diff options
Diffstat (limited to 'testenv')
-rw-r--r-- | testenv/tests/test_aioregion.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/testenv/tests/test_aioregion.py b/testenv/tests/test_aioregion.py index 601f5280..4448bc54 100644 --- a/testenv/tests/test_aioregion.py +++ b/testenv/tests/test_aioregion.py @@ -24,11 +24,15 @@ 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: region = AioExclusiveRegion(RegionIsBusyError) |