Example #1
0
 def test_folder_by_name_lowercase(self):
     self.assertEqual(winshell.folder("appdata"), winshell.get_path(shellcon.CSIDL_APPDATA))
Example #2
0
 def test_folder_by_name_no_prefix(self):
     self.assertEqual(winshell.folder("APPDATA"), winshell.get_path(shellcon.CSIDL_APPDATA))
Example #3
0
 def test_folder_by_int(self):
     self.assertEqual(winshell.folder(shellcon.CSIDL_APPDATA), winshell.get_path(shellcon.CSIDL_APPDATA))
Example #4
0
 def test_get_path(self):
     self.assertEqual(winshell.get_path(shellcon.CSIDL_APPDATA), os.environ['APPDATA'])
Example #5
0
def user_appdata():
    return winshell.get_path(shellcon.CSIDL_APPDATA)
Example #6
0
def user_appdata():
    return winshell.get_path(shellcon.CSIDL_APPDATA)