summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAlex Grönholm <alex.gronholm@nextday.fi>2021-08-29 11:33:13 +0300
committerAlex Grönholm <alex.gronholm@nextday.fi>2021-08-29 11:33:13 +0300
commit3c832274921ba1e9b8a82f6caf5e1e8f45a5a58f (patch)
tree6b8f65b6619d04878065487a4b77004796d2dbaf /tests
parentb967eb3ff1f51c9c1f98a9ea0a65d6afebc09e4e (diff)
downloadapscheduler-3c832274921ba1e9b8a82f6caf5e1e8f45a5a58f.tar.gz
Added a synchronous SQLAlchemy data store
Diffstat (limited to 'tests')
-rw-r--r--tests/conftest.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 9d3c1e6..769005d 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -108,7 +108,8 @@ async def setup_async_sqlalchemy_store() -> AsyncGenerator[AsyncDataStore, None]
@pytest.fixture(params=[
pytest.param(setup_memory_store, id='memory'),
- pytest.param(setup_mongodb_store, id='mongodb')
+ pytest.param(setup_mongodb_store, id='mongodb'),
+ pytest.param(setup_sqlalchemy_store, id='sqlalchemy')
])
def setup_sync_store(request) -> ContextManager[DataStore]:
return request.param
@@ -125,6 +126,7 @@ def setup_async_store(request) -> AsyncContextManager[AsyncDataStore]:
@pytest.fixture(params=[
pytest.param(setup_memory_store, id='memory'),
pytest.param(setup_mongodb_store, id='mongodb'),
+ pytest.param(setup_sqlalchemy_store, id='sqlalchemy'),
pytest.param(setup_postgresql_store, id='postgresql'),
pytest.param(setup_async_sqlalchemy_store, id='async_sqlalchemy')
])