Skip to content

Commit

Permalink
Merge branch 'master' into pre-commit-ci-update-config
Browse files Browse the repository at this point in the history
  • Loading branch information
agronholm authored Aug 2, 2024
2 parents 91abe36 + 383f434 commit 94cc09c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ async def psycopg_async_store() -> AsyncGenerator[DataStore, None]:

from apscheduler.datastores.sqlalchemy import SQLAlchemyDataStore

pytest.importorskip("psycopg", reason="psycopg not available")
engine = create_async_engine(
"postgresql+psycopg://postgres:secret@localhost/testdb"
)
Expand All @@ -177,6 +178,7 @@ def psycopg_sync_store() -> Generator[DataStore, None, None]:

from apscheduler.datastores.sqlalchemy import SQLAlchemyDataStore

pytest.importorskip("psycopg", reason="psycopg not available")
engine = create_engine("postgresql+psycopg://postgres:secret@localhost/testdb")
try:
with engine.begin() as conn:
Expand Down

0 comments on commit 94cc09c

Please sign in to comment.