Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/m/e/mediagoblin-spaetz-0.3.2.dev/mediagoblin/tests/test_sql_migrations.py   mediagoblin-spaetz(Download)
    assert migration_manager.database_current_migration == None
 
    result = migration_manager.init_or_migrate()
 
    # Make sure output was "inited"
        u'__main__', SET1_MODELS, SET1_MIGRATIONS, Session(),
        printer)
    assert migration_manager.init_or_migrate() == None
 
    # Check version in database
 
    # Migrate
    result = migration_manager.init_or_migrate()
 
    # Make sure result was "migrated"