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))
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))
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))
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))