Skip to content

Commit cf689f1

Browse files
committed
removed unnecessary manual pytestmark
1 parent 54273fa commit cf689f1

File tree

5 files changed

+1
-4
lines changed

5 files changed

+1
-4
lines changed

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[pytest]
2+
asyncio_mode=auto
23
testdox_format = plaintext
34
addopts = --testdox --timeout 20 --ignore e2e --ignore tests/e2e
45
norecursedirs=__pycache__, *.egg-info

tests/unit/common/test_async_adapter.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
import azure.iot.device.common.async_adapter as async_adapter
1212

1313
logging.basicConfig(level=logging.DEBUG)
14-
pytestmark = pytest.mark.asyncio
1514

1615

1716
@pytest.fixture

tests/unit/iothub/aio/test_async_clients.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
SharedIoTHubModuleClientCreateFromEdgeEnvironmentWithDebugEnvTests,
4545
)
4646

47-
pytestmark = pytest.mark.asyncio
4847
logging.basicConfig(level=logging.DEBUG)
4948

5049

tests/unit/iothub/aio/test_async_handler_manager.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
from azure.iot.device.iothub.inbox_manager import InboxManager
1717
from azure.iot.device.iothub.aio.async_inbox import AsyncClientInbox
1818

19-
pytestmark = pytest.mark.asyncio
2019
logging.basicConfig(level=logging.DEBUG)
2120

2221
# NOTE ON TEST IMPLEMENTATION:

tests/unit/provisioning/aio/test_async_provisioning_device_client.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020

2121

2222
logging.basicConfig(level=logging.DEBUG)
23-
pytestmark = pytest.mark.asyncio
2423

2524

2625
async def create_completed_future(result=None):

0 commit comments

Comments
 (0)