def _get_nonexistent_folder():
     winshell.get_folder_by_name("XXX")
 def test_get_folder_by_name_no_prefix(self):
     self.assertEqual(winshell.get_folder_by_name("APPDATA"), os.environ['APPDATA'])
 def test_get_folder_by_name_lowercase(self):
     self.assertEqual(winshell.get_folder_by_name("appdata"), os.environ['APPDATA'])
 def test_get_folder_by_name(self):
     self.assertEqual(winshell.get_folder_by_name("CSIDL_APPDATA"), os.environ['APPDATA'])