def observed_argstring_elements(<EOL>self, confdata, pipeline, confpath, envpath):
conf_file_path = _write_project_config(confdata, dirpath=confpath)<EOL>with mock.patch("<STR_LIT>"):<EOL><INDENT>project = Project(conf_file_path)<EOL><DEDENT>argstring = project.get_arg_string(pipeline)<EOL>return argstring.split("<STR_LIT:U+0020>")<EOL>
Write config, build project, and validate argstring for pipeline.

:param dict confdata: project configuration data
:param str pipeline: name of pipeline for which to build argstring
:param str confpath: where to write project config file
:param str envpath: pointer to default environment file
:return Iterable[str] argstring components