def test_wrapped_output_3(self):
     res = yum.parse_check_update(wrapped_output_3)
     expected_pkgs = ["ceph", "ceph-base", "ceph-common", "ceph-mds",
                      "ceph-mon", "ceph-osd", "ceph-selinux", "libcephfs1",
                      "librados2", "libradosstriper1", "librbd1", "librgw2",
                      "python-cephfs", "python-rados", "python-rbd"]
     self._assert_expected(expected_pkgs, res)
Пример #2
0
    def test_wrapped_output_4(self):
        res = yum.parse_check_update(wrapped_output_4)

        expected_pkgs = [
            "ipxe-roms-qemu", "quota", "quota-nls", "rdma", "screen", "sos",
            "sssd-client"
        ]
        self._assert_expected(expected_pkgs, res)
Пример #3
0
    def test_wrapped_output_2(self):
        res = yum.parse_check_update(wrapped_output_2)
        expected_pkgs = [
            "empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty-empty",
            "libtiff"
        ]

        self._assert_expected(expected_pkgs, res)
 def test_wrapped_output_rhel7_obsoletes(self):
     res = yum.parse_check_update(unwrapped_output_rhel7_obsoletes)
     self._assert_expected(unwrapped_output_rhel7_expected_pkgs, res)
 def test_wrapped_output_1(self):
     res = yum.parse_check_update(wrapped_output_1)
     expected_pkgs = ["vms-agent"]
     self._assert_expected(expected_pkgs, res)
 def test_plugin_load_error(self):
     res = yum.parse_check_update(yum_plugin_load_error)
     expected_pkgs = []
     self._assert_expected(expected_pkgs, res)
 def test_longname(self):
     res = yum.parse_check_update(longname)
     expected_pkgs = ['xxxxxxxxxxxxxxxxxxxxxxxxxx', 'glibc']
     self._assert_expected(expected_pkgs, res)
 def test_empty_output(self):
     res = yum.parse_check_update("")
     expected_pkgs = []
     self._assert_expected(expected_pkgs, res)