def METHOD_NAME(self):
    # dnf.repo.Repo.pkgdir
    conf = dnf.conf.Conf()
    conf.cachedir = "/tmp/cache"
    repo = dnf.repo.Repo(name=None, parent_conf=conf)
    self.assertHasAttr(repo, "pkgdir")
    self.assertHasType(repo.pkgdir, str)