Add comment questioning why run_dbupdate is needed in get_app test utility

* mediagoblin/tests/tools.py (get_app): Add comment
This commit is contained in:
Christopher Allan Webber 2016-03-24 17:13:34 -07:00
parent 544b7b47a1
commit 8b7343c611

View File

@ -125,6 +125,8 @@ def get_app(request, paste_config=None, mgoblin_config=None):
app_config = global_config['mediagoblin']
# Run database setup/migrations
# @@: The *only* test that doesn't pass if we remove this is in
# test_persona.py... why?
run_dbupdate(app_config, global_config)
# setup app and return