def test_folder_by_name_lowercase(self): self.assertEqual(winshell.folder("appdata"), winshell.get_path(shellcon.CSIDL_APPDATA))
def test_folder_by_name_no_prefix(self): self.assertEqual(winshell.folder("APPDATA"), winshell.get_path(shellcon.CSIDL_APPDATA))
def test_folder_by_int(self): self.assertEqual(winshell.folder(shellcon.CSIDL_APPDATA), winshell.get_path(shellcon.CSIDL_APPDATA))
def test_get_path(self): self.assertEqual(winshell.get_path(shellcon.CSIDL_APPDATA), os.environ['APPDATA'])
def user_appdata(): return winshell.get_path(shellcon.CSIDL_APPDATA)