glance/tests/unit/test_migrations.conf
jaypipes@gmail.com 3716d83995 Allow someone to set the GLANCE_TEST_MIGRATIONS_CONF environment
variable to override the config file to run for the migrations
unit test:

pipes@serialcoder:~/repos/glance/bug730213$ GLANCE_TEST_MIGRATIONS_CONF=/tmp/glance_test_migrations.conf ./run_tests.sh -V tests.unit.test_migrations
TestMigrations
    test_no_data_loss_2_to_3_to_2                               OK
        test_walk_versions                                          OK

        ----------------------------------------------------------------------
        Ran 2 tests in 2.744s

This will make Monty happy so that Hudson can test more than just SQLite...
2011-03-24 15:31:30 -04:00

6 lines
210 B
Plaintext

[DEFAULT]
# Set up any number of migration data stores you want, one
# The "name" used in the test is the config variable key.
sqlite=sqlite:///test_migrations.db
#mysql=mysql://root:@localhost/test_migrations