def METHOD_NAME(self):
    """
    Checks the `local_recipes` attribute in the Context is absolute.
    """
    cwd = os.path.realpath(os.getcwd())
    common_args = [
        'toolchain.py',
        'recommendations',
    ]
    # Check the default ./p4a-recipes becomes absolute.
    argv = common_args
    with patch_sys_argv(argv):
        toolchain = ToolchainCL()
    expected_local_recipes = os.path.join(cwd, 'p4a-recipes')
    assert toolchain.ctx.local_recipes == expected_local_recipes
    # Check a supplied relative directory becomes absolute.
    argv = common_args + ['--local-recipes=foo']
    with patch_sys_argv(argv):
        toolchain = ToolchainCL()
    expected_local_recipes = os.path.join(cwd, 'foo')
    assert toolchain.ctx.local_recipes == expected_local_recipes
    # An absolute directory should remain unchanged.
    local_recipes = os.path.join(cwd, 'foo')
    argv = common_args + ['--local-recipes={}'.format(local_recipes)]
    with patch_sys_argv(argv):
        toolchain = ToolchainCL()
    assert toolchain.ctx.local_recipes == local_recipes