async def METHOD_NAME(mocker, context):
    path = os.path.join(TEST_DATA_DIR, "appletest.tar.gz")
    execute = mock.AsyncMock()
    execute.side_effect = [(1, ["errror blah"])]
    mocker.patch.object(rcodesign, "_execute_command", execute)
    with pytest.raises(rcodesign.RCodesignError):
        await rcodesign.rcodesign_notarize(path, context.config["apple_notarization_configs"])