Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
from os import environ

from pytest import fixture
from pytest_asyncio import fixture as async_fixture

from firebolt.client.auth import ServiceAccount, UsernamePassword
from firebolt.service.manager import Settings
Expand All @@ -28,7 +27,7 @@ def must_env(var_name: str) -> str:
return environ[var_name]


@async_fixture(scope="session")
@fixture(scope="session")
def rm_settings(api_endpoint, username, password) -> Settings:
return Settings(
server=api_endpoint,
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/dbapi/async/conftest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
from pytest_asyncio import fixture as async_fixture
from pytest import fixture

from firebolt.async_db import Connection, connect
from firebolt.client.auth.base import Auth


@async_fixture
@fixture
async def username_password_connection(
engine_url: str,
database_name: str,
Expand All @@ -22,7 +22,7 @@ async def username_password_connection(
yield connection


@async_fixture
@fixture
async def connection(
engine_url: str,
database_name: str,
Expand All @@ -40,7 +40,7 @@ async def connection(
yield connection


@async_fixture
@fixture
async def connection_engine_name(
engine_name: str,
database_name: str,
Expand All @@ -59,7 +59,7 @@ async def connection_engine_name(
yield connection


@async_fixture
@fixture
async def connection_no_engine(
database_name: str,
password_auth: Auth,
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/dbapi/sync/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def username_password_connection(


@fixture
async def connection(
def connection(
engine_url: str,
database_name: str,
password_auth: Auth,
Expand Down