def METHOD_NAME(self):
    self.repo.use_default_location()
    assert self.repo.shared_pacman_dir['cache-dir'] == \
        '/shared-dir/pacman/cache'
    assert self.repo.shared_pacman_dir['repos-dir'] == \
        '../data/etc/pacman.d'