def test_03_assert_yum_repos(self):
     remote_yum_repos = YumRepo.list(self.consumer_cli)
     for repo, _, _ in self.repos:
         self.assertIn(YumRepo({'id': repo.id}), remote_yum_repos)
 def test_05_assert_yum_repos(self):
     remote_yum_repo = YumRepo.list(self.consumer.cli)
     self.assertIn(YumRepo({'id': self.repo.id}), remote_yum_repo)
Exemple #3
0
 def test_03_assert_yum_repos(self):
     for consumer in self.consumers:
         remote_yum_repos = YumRepo.list(consumer.cli)
         for repo, _, _ in consumer.repos:
             self.assertIn(YumRepo({'id': repo.id}), remote_yum_repos)
Exemple #4
0
 def test_06_assert_yum_repos(self):
     remote_yum_repo = YumRepo.list(self.consumer.cli)
     self.assertIn(YumRepo({'id': self.repo2.id}), remote_yum_repo)