From 9fb05e2d0e824cde5e3cac3f085f4c0474f98efb Mon Sep 17 00:00:00 2001 From: Sy Babayev Date: Tue, 7 May 2024 08:36:46 +0100 Subject: [PATCH] remove redundant decorators --- aiozk/test/test_transaction.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/aiozk/test/test_transaction.py b/aiozk/test/test_transaction.py index 286fb4e..fab5b39 100644 --- a/aiozk/test/test_transaction.py +++ b/aiozk/test/test_transaction.py @@ -5,7 +5,6 @@ pytestmark = pytest.mark.asyncio -@pytest.mark.asyncio async def test_transaction(zk, path): t = Transaction(zk) t.create(path) @@ -15,7 +14,6 @@ async def test_transaction(zk, path): assert bool(res) -@pytest.mark.asyncio async def test_fail_transaction(zk, path): t = Transaction(zk) t.create(path) @@ -25,7 +23,6 @@ async def test_fail_transaction(zk, path): assert not bool(res) -@pytest.mark.asyncio async def test_transaction_contextmanager(zk, path): async with Transaction(zk) as t: t.create(path) @@ -33,7 +30,6 @@ async def test_transaction_contextmanager(zk, path): await zk.delete(path) -@pytest.mark.asyncio async def test_transaction_contextmanager_fail(zk, path): with pytest.raises(TransactionFailed): async with Transaction(zk) as t: @@ -42,7 +38,6 @@ async def test_transaction_contextmanager_fail(zk, path): assert not await zk.exists(path) -@pytest.mark.asyncio async def test_exception_handling(zk, path): with pytest.raises(ValueError): async with Transaction(zk) as t: