def test_positive_apply_errata(self): """Apply errata to a host :id: 8d0e5c93-f9fd-4ec0-9a61-aa93082a30c5 :expectedresults: Errata is scheduled for installation :CaseLevel: System """ self.client.run(f'yum install -y {FAKE_1_CUSTOM_PACKAGE}') Host.errata_apply({'errata-ids': FAKE_1_ERRATA_ID, 'host-id': self.host['id']})
def test_positive_apply_errata(self): """Apply errata to a host @Feature: Host - Errata @Assert: Errata is scheduled for installation """ self.client.download_install_rpm(FAKE_0_YUM_REPO, FAKE_0_CUSTOM_PACKAGE) Host.errata_apply({ u'errata-ids': FAKE_0_ERRATA_ID, u'host-id': self.host['id'], })
def test_positive_apply_errata(self): """Apply errata to a host @id: 8d0e5c93-f9fd-4ec0-9a61-aa93082a30c5 @Assert: Errata is scheduled for installation @CaseLevel: System """ self.client.download_install_rpm(FAKE_0_YUM_REPO, FAKE_0_CUSTOM_PACKAGE) Host.errata_apply({ u'errata-ids': FAKE_0_ERRATA_ID, u'host-id': self.host['id'], })
def test_positive_apply_errata(self): """Apply errata to a host @Feature: Host - Errata @Assert: Errata is scheduled for installation """ self.client.download_install_rpm( FAKE_0_YUM_REPO, FAKE_0_CUSTOM_PACKAGE ) Host.errata_apply({ u'errata-ids': FAKE_0_ERRATA_ID, u'host-id': self.host['id'], })
def test_positive_apply_errata(katello_agent_client): """Apply errata to a host :id: 8d0e5c93-f9fd-4ec0-9a61-aa93082a30c5 :expectedresults: Errata is scheduled for installation :CaseLevel: System """ client = katello_agent_client['client'] host_info = katello_agent_client['host_info'] client.run(f'yum install -y {FAKE_1_CUSTOM_PACKAGE}') Host.errata_apply({ 'errata-ids': settings.repos.yum_0.errata[1], 'host-id': host_info['id'] })
def test_positive_apply_errata(self): """Apply errata to a host @id: 8d0e5c93-f9fd-4ec0-9a61-aa93082a30c5 @Assert: Errata is scheduled for installation @CaseLevel: System """ self.client.download_install_rpm( FAKE_0_YUM_REPO, FAKE_0_CUSTOM_PACKAGE ) Host.errata_apply({ u'errata-ids': FAKE_0_ERRATA_ID, u'host-id': self.host['id'], })