示例#1
0
 def test_path_to_cache_dir_nt(self):
     self.assertEqual(path_to_cache_dir(r'c:\Users\User\Some-File.zip'),
                      'c-----Users--User--Some-File.zip.cache')
示例#2
0
 def test_path_to_cache_dir_nt(self):
     self.assertEqual(path_to_cache_dir(r'c:\Users\User\Some-File.zip'),
                     'c-----Users--User--Some-File.zip.cache')
示例#3
0
 def test_path_to_cache_dir_posix(self):
     self.assertEqual(path_to_cache_dir('/home/user/some-file.zip'),
                      '--home--user--some-file.zip.cache')
示例#4
0
 def test_path_to_cache_dir_posix(self):
     self.assertEqual(path_to_cache_dir('/home/user/some-file.zip'),
                     '--home--user--some-file.zip.cache')