Beispiel #1
0
 def _get_nonexistent_folder():
     winshell.get_folder_by_name("XXX")
Beispiel #2
0
 def test_get_folder_by_name_no_prefix(self):
     self.assertEqual(winshell.get_folder_by_name("APPDATA"), os.environ['APPDATA'])
Beispiel #3
0
 def test_get_folder_by_name_lowercase(self):
     self.assertEqual(winshell.get_folder_by_name("appdata"), os.environ['APPDATA'])
Beispiel #4
0
 def test_get_folder_by_name(self):
     self.assertEqual(winshell.get_folder_by_name("CSIDL_APPDATA"), os.environ['APPDATA'])