Exemple #1
0
def main(argv=None):

    if argv is None:
        argv = sys.argv

    # Prepare the Tuskar service and load the database backend.
    service.prepare_service(argv)
    get_backend()

    migration.db_sync()
Exemple #2
0
def main(argv=None):

    if argv is None:
        argv = sys.argv

    # Prepare the Tuskar service and load the database backend.
    service.prepare_service(argv)
    get_backend()

    migration.db_sync()
Exemple #3
0
 def test_migration_ok(self):
     db_migration.db_sync()
Exemple #4
0
 def test_sync_and_version(self):
     migration.db_sync()
     v = migration.db_version()
     self.assertTrue(v > migration.INIT_VERSION)
Exemple #5
0
 def test_migration_ok(self):
     db_migration.db_sync()
Exemple #6
0
def main():
    service.prepare_service(sys.argv)
    migration.db_sync()
Exemple #7
0
def main():
    migration.db_sync()
Exemple #8
0
def main():
    service.prepare_service(sys.argv)
    migration.db_sync()