<s> import mock <EOL> from elodie . dependencies import get_exiftool <EOL> @ mock . patch ( '<STR_LIT>' ) <EOL> @ mock . patch ( '<STR_LIT>' ) <EOL> def test_exiftool ( mock_os , mock_find_executable ) : <EOL> mock_find_executable . return_value = '<STR_LIT>' <EOL> assert get_exiftool ( ) == '<STR_LIT>' <EOL> mock_find_executable . return_value = None <EOL> mock_os . path . isfile . return_value = True <EOL> mock_os . path . access . return_value = True <EOL> assert get_exiftool ( ) == '<STR_LIT>' <EOL> mock_os . path . isfile . return_value = False <EOL> assert get_exiftool ( ) is None </s>
