def METHOD_NAME(self):
    # dnf.repo.Repo.dump - inherited from BaseConfig
    repo = dnf.repo.Repo()
    self.assertHasAttr(repo, "dump")
    content = repo.dump()
    self.assertHasType(content, str)