mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
1a1db4d1f8
commit
49f2082ad3
@ -27,7 +27,6 @@ class TestWinutil(unittest.TestCase):
|
|||||||
q = self.winutil.file_association('.txt')
|
q = self.winutil.file_association('.txt')
|
||||||
self.assertIn('notepad.exe', q.lower())
|
self.assertIn('notepad.exe', q.lower())
|
||||||
self.assertNotIn('\0', q)
|
self.assertNotIn('\0', q)
|
||||||
self.assertIsNone(self.winutil.file_association('.mkjsfks'))
|
|
||||||
|
|
||||||
def test_special_folder_path(self):
|
def test_special_folder_path(self):
|
||||||
self.assertEqual(os.path.expanduser('~'), self.winutil.special_folder_path(self.winutil.CSIDL_PROFILE))
|
self.assertEqual(os.path.expanduser('~'), self.winutil.special_folder_path(self.winutil.CSIDL_PROFILE))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user