示例#1
0
 def test_do_not_convert_posix_path(self, mock_os):
     mock_os.name = "posix"
     self.assertEqual(self.current_working_dir,
                      to_posix_path(self.current_working_dir))
示例#2
0
 def test_do_not_convert_posix_path(self, mock_os):
     mock_os.name = "posix"
     self.assertEquals(self.current_working_dir, to_posix_path(self.current_working_dir))
示例#3
0
 def test_convert_posix_path_if_windows_style_path(self, mock_os):
     mock_os.name = "nt"
     self.assertEqual(self.posixpath, to_posix_path(self.ntpath))
示例#4
0
 def test_convert_posix_path_if_windows_style_path(self, mock_os):
     mock_os.name = "nt"
     self.assertEquals(self.posixpath, to_posix_path(self.ntpath))