(node_name, source_path)
return os.path.join(*pseudo_path_parts)
schema tests all come from schema.yml files. fake a source sql file
schema tests all come from schema.yml files. fake a source sql file
schema tests all come from schema . yml files . fake a source sql file
def get_pseudo_test_path(node_name, source_path):
    "schema tests all come from schema.yml files. fake a source sql file"
    source_path_parts = split_path(source_path)
    source_path_parts.pop()  # ignore filename
    suffix = ["{}.sql".format(node_name)]
    pseudo_path_parts = source_path_parts + suffix
    return os.path.join(*pseudo_path_parts)
def get_pseudo_test_path ( node_name , source_path ) : source_path_parts = split_path ( source_path ) source_path_parts . pop ( ) # ignore filename suffix = [ "{}.sql" . format ( node_name ) ] pseudo_path_parts = source_path_parts + suffix return os . path . join ( * pseudo_path_parts )