printer = CollectingPrinter -> printer = CollectingPrinter()
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:11:41 +0000 (17:11 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:11:41 +0000 (17:11 -0600)
mediagoblin/tests/test_sql_migrations.py

index 7dfc4b2647efb7520aa9d53dffeaf54bdd83a9c1..d9d30237b75986874cf0bd8b65627a9a6ec4647f 100644 (file)
@@ -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)