def METHOD_NAME(args, tmp_path):
    '''Tests that the correct output location gets assigned when provided'''
    with pushd(tmp_path):
        args = args
        args.output_directory = tmp_path
        argDict = checkArgs(args)
        out = argDict['output_directory']
        assert out == tmp_path