We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 934d68c commit 57bc4c8Copy full SHA for 57bc4c8
packages/nvidia_nat_mysql/tests/test_mysql_object_store.py
@@ -16,6 +16,7 @@
16
from contextlib import asynccontextmanager
17
18
import pytest
19
+import pytest_asyncio
20
21
from nat.builder.workflow_builder import WorkflowBuilder
22
from nat.plugins.mysql.object_store import MySQLObjectStoreClientConfig
@@ -26,7 +27,7 @@
26
27
# docker run --rm -ti --name test-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d -p 3306:3306 mysql:9.3
28
29
-@pytest.fixture(name="mysql_server", scope="module")
30
+@pytest_asyncio.fixture(name="mysql_server", scope="module")
31
async def fixture_mysql_server(fail_missing: bool):
32
"""Fixture to safely skip MySQL based tests if MySQL is not running"""
33
try:
0 commit comments