def test_exception_if_missing_input_directory(mocker):
    mocker.patch('os.makedirs')
    mocker.patch('sys.exit')
    with pytest.raises(RuntimeError, match="Input directory 'in' does not exist or cannot be accessed"):
        Phockup('in', 'out')
def test_exception_if_missing_input_directory(mocker):
    mocker.patch('os.makedirs')
    mocker.patch('sys.exit')
    with pytest.raises(RuntimeError, match="Input directory 'in' does not exist or cannot be accessed"):
        Phockup('in', 'out')