'Create a fresh DB, copy the existing DB to it, and then
try to synchronize it.'

def simulate_sync_db(self, version=None):

    db_version = self.get_db_version()
    if (db_version == self.get_latest_version()):
        logging.info('Skipping    simulation,    already    at    latest    version')
        return
    self.initialize_and_fill_test_db()
    try:
        logging.info('Starting    migration    test    on    DB    %s', self.get_db_name())
        self.migrate_to_version_or_latest(version)
    finally:
        self.remove_test_db()
    logging.info('Test    finished    successfully')
