server: update backend tests results (rpc does not work with chords)

This commit is contained in:
2023-11-16 14:45:40 +01:00
committed by Mathieu Virbel
parent 06b29d9bd4
commit 5ffa931822
2 changed files with 8 additions and 10 deletions

View File

@@ -133,4 +133,10 @@ def celery_enable_logging():
@pytest.fixture(scope="session")
def celery_config():
return {"broker_url": "memory://", "result_backend": "rpc"}
import tempfile
with tempfile.NamedTemporaryFile() as fd:
yield {
"broker_url": "memory://",
"result_backend": "db+sqlite://" + fd.name,
}