~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_osutils.py

  • Committer: Vincent Ladeuil
  • Date: 2010-12-06 10:04:44 UTC
  • mto: (5321.1.101 mergetools)
  • mto: This revision was merged to the branch mainline in revision 5632.
  • Revision ID: v.ladeuil+lp@free.fr-20101206100444-t3m50se27q1kzimm
Fix failing test.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2124
2124
        if sys.platform != 'win32':
2125
2125
            raise tests.TestSkipped('test requires win32')
2126
2126
        self.assertTrue(osutils.find_executable_on_path('explorer') is not None)
2127
 
        self.assertTrue(osutils.find_executable_on_path('explorer.exe') is not None)
 
2127
        self.assertTrue(osutils.find_executable_on_path('explorer.exe')
 
2128
                        is not None)
2128
2129
        self.assertTrue(
2129
2130
            osutils.find_executable_on_path('THIS SHOULD NOT EXIST') is None)
2130
2131
 
2131
2132
    def test_other(self):
2132
2133
        if sys.platform == 'win32':
2133
2134
            raise tests.TestSkipped('test requires non-win32')
2134
 
        self.assertTrue(osutils.is_executable_on_path('sh') is not None)
 
2135
        self.assertTrue(osutils.find_executable_on_path('sh') is not None)
2135
2136
        self.assertTrue(
2136
 
            osutils.is_executable_on_path('THIS SHOULD NOT EXIST') is None)
 
2137
            osutils.find_executable_on_path('THIS SHOULD NOT EXIST') is None)