예제 #1
0
파일: dbsync.py 프로젝트: marios/tuskar-1
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()
예제 #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()
예제 #3
0
 def test_migration_ok(self):
     db_migration.db_sync()
예제 #4
0
 def test_sync_and_version(self):
     migration.db_sync()
     v = migration.db_version()
     self.assertTrue(v > migration.INIT_VERSION)
예제 #5
0
 def test_migration_ok(self):
     db_migration.db_sync()
예제 #6
0
파일: dbsync.py 프로젝트: jsomara/tuskar
def main():
    service.prepare_service(sys.argv)
    migration.db_sync()
예제 #7
0
파일: dbsync.py 프로젝트: erictchiu/tuskar
def main():
    migration.db_sync()
예제 #8
0
def main():
    service.prepare_service(sys.argv)
    migration.db_sync()