Beispiel #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()
Beispiel #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()
Beispiel #3
0
 def test_migration_ok(self):
     db_migration.db_sync()
Beispiel #4
0
 def test_sync_and_version(self):
     migration.db_sync()
     v = migration.db_version()
     self.assertTrue(v > migration.INIT_VERSION)
Beispiel #5
0
 def test_migration_ok(self):
     db_migration.db_sync()
Beispiel #6
0
def main():
    service.prepare_service(sys.argv)
    migration.db_sync()
Beispiel #7
0
def main():
    migration.db_sync()
Beispiel #8
0
def main():
    service.prepare_service(sys.argv)
    migration.db_sync()