def test_06_start_atomic_repo_sync(self):
     '''
        start syncing the repo
     '''
     atomic_repo_version = RHUIManagerRepo.get_repo_version(
         RHUA, self.atomic_repo_name)
     RHUIManagerSync.sync_repo(
         RHUA,
         [Util.format_repo(self.atomic_repo_name, atomic_repo_version)])
 def test_09_wait_for_sync(self):
     '''
        wait until the repo is synced (takes a while)
     '''
     atomic_repo_version = RHUIManagerRepo.get_repo_version(
         RHUA, self.atomic_repo_name)
     RHUIManagerSync.wait_till_repo_synced(
         RHUA,
         [Util.format_repo(self.atomic_repo_name, atomic_repo_version)])
 def test_11_sync_again(self):
     '''
        sync the repo again (workaround for RHBZ#1427190)
     '''
     atomic_repo_version = RHUIManagerRepo.get_repo_version(
         RHUA, self.atomic_repo_name)
     RHUIManagerSync.sync_repo(
         RHUA,
         [Util.format_repo(self.atomic_repo_name, atomic_repo_version)])
     RHUIManagerSync.wait_till_repo_synced(
         RHUA,
         [Util.format_repo(self.atomic_repo_name, atomic_repo_version)])