def METHOD_NAME(self):
    # dnf.repo.Repo.load
    repo = dnf.repo.Repo()
    class MockRepo:
        def load(self):
            return True
    repo._repo = MockRepo()
    self.assertHasAttr(repo, "load")
    repo.load()