def METHOD_NAME(self):
    # pylint:disable=import-outside-toplevel
    from pikaur.config import BuildCachePath, PackageCachePath
    pikaur("-S python-pygobject-stubs --rebuild --keepbuild")
    self.assertGreaterEqual(
        len(os.listdir(BuildCachePath()())), 1,
    )
    self.assertGreaterEqual(
        len(os.listdir(PackageCachePath()())), 1,
    )
    pikaur("-Scc --noconfirm")
    self.assertFalse(
        BuildCachePath()().exists(),
    )
    self.assertFalse(
        PackageCachePath()().exists(),
    )