Esempio n. 1
0
 def test_executable_file_in_path(self):
     # Should exist in any POSIX shell, which is what we have in OSX
     self.assertTrue(executable_is_in_path('ls'))
Esempio n. 2
0
 def test_executable_file_in_path(self):
     # Should exist in any POSIX shell
     self.assertTrue(executable_is_in_path('ls'))
Esempio n. 3
0
 def test_executable_file_in_path(self):
     # Should exist in any POSIX shell, which is what we have in OSX
     result = executable_is_in_path('ls')
     assert result == "/bin/ls" # Any UNIX should respect this.
Esempio n. 4
0
 def test_executable_file_in_path(self):
     # Should exist in any POSIX shell
     self.assertTrue(executable_is_in_path('ls'))
Esempio n. 5
0
 def test_executable_file_in_path(self):
     # Should exist in any POSIX shell, which is what we have in OSX
     result = executable_is_in_path('ls')
     assert os.access(result, os.X_OK)