Skip to content

Commit 57bc4c8

Browse files
committed
Redeclare the fixture as a pytest_asyncio fixture
Signed-off-by: David Gardner <[email protected]>
1 parent 934d68c commit 57bc4c8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/nvidia_nat_mysql/tests/test_mysql_object_store.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from contextlib import asynccontextmanager
1717

1818
import pytest
19+
import pytest_asyncio
1920

2021
from nat.builder.workflow_builder import WorkflowBuilder
2122
from nat.plugins.mysql.object_store import MySQLObjectStoreClientConfig
@@ -26,7 +27,7 @@
2627
# docker run --rm -ti --name test-mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -d -p 3306:3306 mysql:9.3
2728

2829

29-
@pytest.fixture(name="mysql_server", scope="module")
30+
@pytest_asyncio.fixture(name="mysql_server", scope="module")
3031
async def fixture_mysql_server(fail_missing: bool):
3132
"""Fixture to safely skip MySQL based tests if MySQL is not running"""
3233
try:

0 commit comments

Comments
 (0)