features/steps/cli_steps.py
def check_empty_pipeline_exists(context):
    """Check if the created `pipeline.py` contains no nodes"""
    pipeline_file = (
        context.root_project_dir
        / "src"
        / context.project_name.replace("-", "_")
        / "pipeline.py"
    )
    assert '"__default__": Pipeline([])' in pipeline_file.read_text("utf-8")
Check if the created `pipeline.py` contains no nodes
Check if the created `pipeline.py` contains no nodes
Check if the created ` pipeline . py ` contains no nodes
def check_empty_pipeline_exists(context):
    pipeline_file = (
        context.root_project_dir
        / "src"
        / context.project_name.replace("-", "_")
        / "pipeline.py"
    )
    assert '"__default__": Pipeline([])' in pipeline_file.read_text("utf-8")
def check_empty_pipeline_exists ( context ) : pipeline_file = ( context . root_project_dir / "src" / context . project_name . replace ( "-" , "_" ) / "pipeline.py" ) assert '"__default__": Pipeline([])' in pipeline_file . read_text ( "utf-8" )
Check if the created `pipeline.py` contains no nodes
Check if the created ` pipeline . py ` contains no nodes
"""Check if the created `pipeline.py` contains no nodes"""
context