def METHOD_NAME(self, mock_get_system_modaliases):
    """Test of test_get_pkgs."""
    mock_get_system_modaliases.return_value = {
        "pci": ["v0000168Cd00000036sv0000103Csd0000217Fbc02sc80i00",
                "v00008086d00008C26sv0000103Csd000022D9bc0Csc03i20"],
        "usb": ["v8087p8000d0005dc09dsc00dp01ic09isc00ip00in00",
                "v1D6Bp0002d0319dc09dsc00dp00ic09isc00ip00in00"],
    }
    self.pkg_handler = dkms_info.DebianPackageHandler(
        file_object=io.StringIO(self._var_lib_dpkg_status))
    self.assertEqual(len(self.pkg_handler.pkgs), 2)