5cf2144b3f
Change the string passed in the "name" section of the namedtuples in Blueprint to match the name of the Blueprint module attribute name. This allows blueprints to be pickled and unpickled, without errors, which is a requirment of running Sanic in multiprocessing mode in Windows. Added a test for pickling and unpickling blueprints Added a test for pickling and unpickling sanic itself Added a test for enabling multiprocessing on an app with a blueprint (only useful to catch this bug if the tests are run on Windows). |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
app.py | ||
blueprints.py | ||
config.py | ||
constants.py | ||
cookies.py | ||
exceptions.py | ||
handlers.py | ||
helpers.py | ||
log.py | ||
reloader_helpers.py | ||
request.py | ||
response.py | ||
router.py | ||
server.py | ||
static.py | ||
testing.py | ||
views.py | ||
websocket.py | ||
worker.py |