def test_cache_use_input(): """Use existing dir when specified?""" INPUT = Path.home() EXPECT = INPUT assert util.default_cache_dir(INPUT) == EXPECT