Searched refs:matchobj (Results 1 – 2 of 2) sorted by relevance
49 matchobj = re.match(r".*Repo-pkgs\s*:\s*(?P<n_pkgs>[0-9]+)", output_repoinfo, re.DOTALL)50 …self.assertTrue(matchobj is not None, msg = "Could not find the amount of packages in dnf repoinfo…51 …self.assertTrue(int(matchobj.group('n_pkgs')) > 0, msg = "Amount of remote packages is not more th…
82 def _substitute_html_entity(cls, matchobj): argument83 entity = cls.CHARACTER_TO_HTML_ENTITY.get(matchobj.group(0))87 def _substitute_xml_entity(cls, matchobj): argument90 entity = cls.CHARACTER_TO_XML_ENTITY[matchobj.group(0)]