File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 # ToDo: take if back when the connection become stable
2828 # or resolve using `InMemoryMongoClient`
2929 - { os: "macOS-latest", backend: "mongodb" }
30+ - { os: "macOS-latest", backend: "postgres" }
31+ - { os: "windows-latest", backend: "postgres" }
3032 env :
3133 CACHIER_TEST_HOST : " localhost"
3234 CACHIER_TEST_PORT : " 27017"
Original file line number Diff line number Diff line change @@ -186,7 +186,7 @@ def test_import_cachier_without_sqlalchemy(monkeypatch):
186186 sys .modules .update (modules_backup )
187187
188188
189- @pytest .mark .sql
189+ @pytest .mark .local
190190def test_sqlcore_importerror_without_sqlalchemy (monkeypatch ):
191191 """Test that using SQL core without SQLAlchemy raises an ImportError."""
192192 # Simulate SQLAlchemy not installed
@@ -196,7 +196,6 @@ def test_sqlcore_importerror_without_sqlalchemy(monkeypatch):
196196 sys .modules ["sqlalchemy.engine" ] = None
197197 try :
198198 import importlib
199-
200199 sql_mod = importlib .import_module ("cachier.cores.sql" )
201200 with pytest .raises (ImportError ) as excinfo :
202201 sql_mod ._SQLCore (hash_func = None , sql_engine = "sqlite:///:memory:" )
You can’t perform that action at this time.
0 commit comments