diff options
author | Devaev Maxim <[email protected]> | 2019-04-08 04:08:59 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2019-04-08 04:08:59 +0300 |
commit | 7eca51f17b7c2c95b54d4c2b77caa6c8554ef4f4 (patch) | |
tree | 70c101f89506f4602223b0d2029ff3a6c70ce522 /tests/test_aioregion.py | |
parent | 28c556d92e4c6ad1b02bf0606a456eae0bcadf90 (diff) |
refactoring
Diffstat (limited to 'tests/test_aioregion.py')
-rw-r--r-- | tests/test_aioregion.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test_aioregion.py b/tests/test_aioregion.py index 72435adf..dde0918b 100644 --- a/tests/test_aioregion.py +++ b/tests/test_aioregion.py @@ -30,7 +30,7 @@ from kvmd.aioregion import AioExclusiveRegion # ===== @pytest.mark.asyncio -async def test_aioregion__one__ok(event_loop: asyncio.AbstractEventLoop) -> None: +async def test_ok__aioregion__one(event_loop: asyncio.AbstractEventLoop) -> None: _ = event_loop region = AioExclusiveRegion(RegionIsBusyError) @@ -48,7 +48,7 @@ async def test_aioregion__one__ok(event_loop: asyncio.AbstractEventLoop) -> None @pytest.mark.asyncio -async def test_aioregion__one__fail(event_loop: asyncio.AbstractEventLoop) -> None: +async def test_fail__aioregion__one(event_loop: asyncio.AbstractEventLoop) -> None: _ = event_loop region = AioExclusiveRegion(RegionIsBusyError) @@ -69,7 +69,7 @@ async def test_aioregion__one__fail(event_loop: asyncio.AbstractEventLoop) -> No # ===== @pytest.mark.asyncio -async def test_aioregion__two__ok(event_loop: asyncio.AbstractEventLoop) -> None: +async def test_ok__aioregion__two(event_loop: asyncio.AbstractEventLoop) -> None: region = AioExclusiveRegion(RegionIsBusyError) async def func1() -> None: @@ -92,7 +92,7 @@ async def test_aioregion__two__ok(event_loop: asyncio.AbstractEventLoop) -> None @pytest.mark.asyncio -async def test_aioregion__two__fail(event_loop: asyncio.AbstractEventLoop) -> None: +async def test_fail__aioregion__two(event_loop: asyncio.AbstractEventLoop) -> None: region = AioExclusiveRegion(RegionIsBusyError) async def func1() -> None: |