def test_win(self): # test if default_dir for Windows platform is accessible # # since default_dir_win() does not have any Windows specific code, # let's test it everywhere d = catalog.default_dir_win() assert_(catalog.is_writable(d))
def test_posix(self): # test if posix default_dir is writable d = catalog.default_dir_posix() assert_(catalog.is_writable(d))