def METHOD_NAME(self):
    # dnf.repo.Repo.get_metadata_content
    repo = dnf.repo.Repo()
    self.assertHasAttr(repo, "get_metadata_content")
    content = repo.get_metadata_content(metadata_type="primary")
    self.assertHasType(content, str)