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