mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 20:29:06 +00:00
server: update backend tests results (rpc does not work with chords)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user