def test_check_dependencies_missing(mocker):
    mocker.patch('shutil.which', return_value=None)
    mocker.patch('sys.exit')
    with pytest.raises(Exception, match='Exiftool is not installed. Visit http://www.sno.phy.queensu.ca/~phil/exiftool/'):
        check_dependencies()
def test_check_dependencies_missing(mocker):
    mocker.patch('shutil.which', return_value=None)
    mocker.patch('sys.exit')
    with pytest.raises(Exception, match='Exiftool is not installed. Visit http://www.sno.phy.queensu.ca/~phil/exiftool/'):
        check_dependencies()