summaryrefslogtreecommitdiff
path: root/testenv
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-02-29 17:23:57 +0300
committerDevaev Maxim <[email protected]>2020-02-29 17:23:57 +0300
commit75d9b858d73bf3ed31597e554b27520e3e31f72e (patch)
treef52e60f468d7ad99d8e9abf2df590026a4502862 /testenv
parent5ef5e00da9e5d15270cdc253eb67bef72174b78f (diff)
moved AioExclusiveRegion to aiotools
Diffstat (limited to 'testenv')
-rw-r--r--testenv/tests/test_aiotools.py (renamed from testenv/tests/test_aioregion.py)10
1 files changed, 5 insertions, 5 deletions
diff --git a/testenv/tests/test_aioregion.py b/testenv/tests/test_aiotools.py
index 4448bc54..9d1c87c7 100644
--- a/testenv/tests/test_aioregion.py
+++ b/testenv/tests/test_aiotools.py
@@ -24,7 +24,7 @@ import asyncio
import pytest
-from kvmd.aioregion import AioExclusiveRegion
+from kvmd.aiotools import AioExclusiveRegion
# =====
@@ -34,7 +34,7 @@ class RegionIsBusyError(Exception):
# =====
@pytest.mark.asyncio
-async def test_ok__access_one() -> None:
+async def test_ok__region__access_one() -> None:
region = AioExclusiveRegion(RegionIsBusyError)
async def func() -> None:
@@ -51,7 +51,7 @@ async def test_ok__access_one() -> None:
@pytest.mark.asyncio
-async def test_fail__access_one() -> None:
+async def test_fail__region__access_one() -> None:
region = AioExclusiveRegion(RegionIsBusyError)
async def func() -> None:
@@ -71,7 +71,7 @@ async def test_fail__access_one() -> None:
# =====
@pytest.mark.asyncio
-async def test_ok__access_two() -> None:
+async def test_ok__region__access_two() -> None:
region = AioExclusiveRegion(RegionIsBusyError)
async def func1() -> None:
@@ -94,7 +94,7 @@ async def test_ok__access_two() -> None:
@pytest.mark.asyncio
-async def test_fail__access_two() -> None:
+async def test_fail__region__access_two() -> None:
region = AioExclusiveRegion(RegionIsBusyError)
async def func1() -> None: