aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/tools.py
diff options
context:
space:
mode:
authorJoar Wandborg <git@wandborg.com>2012-09-15 17:54:34 +0200
committerJoar Wandborg <git@wandborg.com>2012-09-15 17:54:34 +0200
commit30520c92cc621bd0826259aca3d9b7b740f71ef0 (patch)
tree48cb9b4c7f028c9e64e4464fca09ea30c34a9e02 /mediagoblin/tests/tools.py
parent999f91eb8a220ee9a69c0678aa2803c63e80c903 (diff)
downloadmediagoblin-30520c92cc621bd0826259aca3d9b7b740f71ef0.tar.lz
mediagoblin-30520c92cc621bd0826259aca3d9b7b740f71ef0.tar.xz
mediagoblin-30520c92cc621bd0826259aca3d9b7b740f71ef0.zip
Fixed tests
- Adapt tests to new global_config arg for run_dbupdate - Account for [plugins] not being set in config
Diffstat (limited to 'mediagoblin/tests/tools.py')
-rw-r--r--mediagoblin/tests/tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/tests/tools.py b/mediagoblin/tests/tools.py
index a40569e4..6fd11fc2 100644
--- a/mediagoblin/tests/tools.py
+++ b/mediagoblin/tests/tools.py
@@ -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(