File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ def init_dramatiq(config: AppConfig):
40
40
if config .ENVIRONMENT not in ["test" , "local" ]:
41
41
logging .critical (
42
42
"Running a non-test/non-local environment without Redis URL set" ,
43
- extra = {"ENVIRONMENT" : config .ENVIRONMENT }
43
+ extra = {"ENVIRONMENT" : config .ENVIRONMENT },
44
44
)
45
45
broker .add_middleware (AsyncIO ())
46
46
set_broker (broker )
Original file line number Diff line number Diff line change @@ -70,4 +70,6 @@ def test_init_dramatiq_without_redis_url(caplog):
70
70
with caplog .at_level (logging .CRITICAL ):
71
71
init_dramatiq (config )
72
72
73
- assert "Running a non-test environment without Redis URL set" in caplog .text
73
+ assert (
74
+ "Running a non-test/non-local environment without Redis URL set" in caplog .text
75
+ )
You can’t perform that action at this time.
0 commit comments