Add comment questioning why run_dbupdate is needed in get_app test utility
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 25 Mar 2016 00:13:34 +0000 (17:13 -0700)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 26 Mar 2016 18:39:08 +0000 (11:39 -0700)
* mediagoblin/tests/tools.py (get_app): Add comment

mediagoblin/tests/tools.py

index 77a9a86c07dbaca155c5832741dd76e93ed962ec..39b9ac5019f326054775ba98601998cc20c8fcdd 100644 (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