summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2022-09-21 02:20:52 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2022-09-21 02:40:02 +0300
commit2152fa58109fd53b32577dce49417bba5d8bebd9 (patch)
tree307d2cfd44d48ed98e92767fdaaf167cf42bf72c
parentb201d9a2cceabb6412b9d4b4abd325e25d423aa2 (diff)
downloadapscheduler-2152fa58109fd53b32577dce49417bba5d8bebd9.tar.gz
Readded psycopg2 and pymysql store fixtures to the test suite
-rw-r--r--tests/conftest.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 6b3de78..0de4349 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -157,7 +157,7 @@ def psycopg2_store() -> DataStore:
@pytest.fixture
-def mysql_store() -> DataStore:
+def pymysql_store() -> DataStore:
from sqlalchemy.future import create_engine
from apscheduler.datastores.sqlalchemy import SQLAlchemyDataStore
@@ -212,6 +212,16 @@ async def asyncmy_store() -> DataStore:
marks=[pytest.mark.external_service],
),
pytest.param(
+ lazy_fixture("psycopg2_store"),
+ id="psycopg2",
+ marks=[pytest.mark.external_service],
+ ),
+ pytest.param(
+ lazy_fixture("pymysql_store"),
+ id="pymysql",
+ marks=[pytest.mark.external_service],
+ ),
+ pytest.param(
lazy_fixture("mongodb_store"),
id="mongodb",
marks=[pytest.mark.external_service],