Fixed tests
- Adapt tests to new global_config arg for run_dbupdate - Account for [plugins] not being set in config
This commit is contained in:
@@ -134,7 +134,7 @@ def get_test_app(dump_old_app=True):
|
||||
app_config = global_config['mediagoblin']
|
||||
|
||||
# Run database setup/migrations
|
||||
run_dbupdate(app_config)
|
||||
run_dbupdate(app_config, global_config)
|
||||
|
||||
# setup app and return
|
||||
test_app = loadapp(
|
||||
|
||||
Reference in New Issue
Block a user