Improved test runtime from 352 seconds to 59 seconds by implementing an in-memory...
authorEmily O'Leary <Emma.C.Echo@gmail.com>
Wed, 26 Jun 2013 00:57:50 +0000 (20:57 -0400)
committerEmily O'Leary <Emma.C.Echo@gmail.com>
Wed, 26 Jun 2013 00:57:50 +0000 (20:57 -0400)
commit4a698535bc97b37c8eb42ffea2cc3e7bd48565e6
tree5ee573acc9f8c91cb53e44a1ee55529f3c74e5e1
parentc1b342ba95e99407ccedfdfad306ddb36fde6eb0
Improved test runtime from 352 seconds to 59 seconds by implementing an in-memory sqlite DB and including an option to run migrations on this newly created database by adding a config option called run_migrations to the config_spec and passing it along in app.py to the setup_database function.
mediagoblin/app.py
mediagoblin/config_spec.ini
mediagoblin/gmg_commands/dbupdate.py
mediagoblin/init/__init__.py
mediagoblin/tests/appconfig_context_modified.ini
mediagoblin/tests/appconfig_static_plugin.ini
mediagoblin/tests/test_mgoblin_app.ini