aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/tests/test_sql_migrations.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-01-29 17:11:41 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-01-29 17:11:41 -0600
commitecb4cc89900b897b26fe5f6a1f4c1d94b4a50b6a (patch)
treec874b32d0779d8b84d06a8d07a7239c58515b0b0 /mediagoblin/tests/test_sql_migrations.py
parent245e6d83a618f524be0c71d071374ddc6da291f0 (diff)
downloadmediagoblin-ecb4cc89900b897b26fe5f6a1f4c1d94b4a50b6a.tar.lz
mediagoblin-ecb4cc89900b897b26fe5f6a1f4c1d94b4a50b6a.tar.xz
mediagoblin-ecb4cc89900b897b26fe5f6a1f4c1d94b4a50b6a.zip
printer = CollectingPrinter -> printer = CollectingPrinter()
Diffstat (limited to 'mediagoblin/tests/test_sql_migrations.py')
-rw-r--r--mediagoblin/tests/test_sql_migrations.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mediagoblin/tests/test_sql_migrations.py b/mediagoblin/tests/test_sql_migrations.py
index 7dfc4b26..d9d30237 100644
--- a/mediagoblin/tests/test_sql_migrations.py
+++ b/mediagoblin/tests/test_sql_migrations.py
@@ -528,7 +528,7 @@ def test_set1_to_set3():
# Create tables by migrating on empty initial set
# -----------------------------------------------
- printer = CollectingPrinter
+ printer = CollectingPrinter()
migration_manager = MigrationManager(
'__main__', SET1_MODELS, SET1_MIGRATIONS, Session(),
printer)
@@ -635,7 +635,7 @@ def test_set1_to_set3():
# Create new migration manager, but make sure the db migration
# isn't said to be updated yet
- printer = CollectingPrinter
+ printer = CollectingPrinter()
migration_manager = MigrationManager(
'__main__', SET3_MODELS, SET3_MIGRATIONS, Session(),
printer)