mirror of https://github.com/zulip/zulip.git
ff156c1f8a
We create a path structure in the from: `/var/<uuid>/test-backend/run_1234567/worker_N/` A settings attribute, `TEST_WORKER_DIR`, was created as a worker's directory for a given `test-backend` run's file storage. The appropirate path is created in `setup_test_environment`, while each workers subdirectory is created within `init_worker`. This allows a test class to write to `settings.TEST_WORKER_DIR`, populating the appropirate directory of a given worker. Also providing the long-term approach to clean up filesystem access in the backend unit tests. |
||
---|---|---|
.. | ||
jinja2 | ||
__init__.py | ||
backends.py | ||
dev_settings.py | ||
dev_urls.py | ||
email_backends.py | ||
legacy_urls.py | ||
prod_settings_template.py | ||
settings.py | ||
slack_importer_test_settings.py | ||
terms.md.template | ||
test_settings.py | ||
urls.py | ||
wsgi.py |