mirror of https://github.com/zulip/zulip.git
239474124e
We remove the `generate_fixtures` option here mostly for simplicity, but in particular to facilitate an upcoming commit to simplify the job of `generate-fixtures` (and remove its `--force` option). The command line option here for `test-backend` was really calling `generate_fixtures --force`, which we're about to rename `tools/rebuild-test-database`. The `test-backend` tools is already smart about catching up on migrations, so we generally don't need to tell it to repair the database. And if the database does get corrupt, you can just do it directly with `tools/rebuild-test-database`. This eliminates the `use_force` flag in `update_test_databases_if_required`, which was easy to confuse with `rebuild_test_database`. The other caller wasn't using `use_force`. |
||
---|---|---|
.. | ||
data_import | ||
lib | ||
management | ||
migrations | ||
openapi | ||
templatetags | ||
tests | ||
tornado | ||
views | ||
webhooks | ||
worker | ||
__init__.py | ||
apps.py | ||
context_processors.py | ||
decorator.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
signals.py |