BackendFixture fails with Sanic because missing test_mode
#861
Labels
type-tests
About the test suite
Milestone
test_mode
#861
Discussed in #860
Originally posted by ahopkins December 29, 2022
The problem was reported here: sanic-org/sanic#2643.
The issue is that the
BackendFixture
for testing Sanic does not setSanic.test_mode = True
, which means that there is potential for issues (as seen the linked issue) to arise. I propose that you add this into your test implementation for Sanic to automatically manage setting that variable.The text was updated successfully, but these errors were encountered: