@@ -914,7 +914,9 @@ def test_dlt_filesystem_pipeline(tmp_path):
914914 info = filesystem_pipeline .run ([{"item_id" : 1 }], table_name = "equipment" )
915915 assert not info .has_failed_jobs
916916
917- init_example_project (tmp_path , "athena" , ProjectTemplate .DLT , "filesystem_pipeline" )
917+ init_example_project (
918+ tmp_path , "athena" , template = ProjectTemplate .DLT , pipeline = "filesystem_pipeline"
919+ )
918920
919921 # Validate generated sqlmesh config and models
920922 config_path = tmp_path / "config.yaml"
@@ -1014,12 +1016,18 @@ def test_dlt_pipeline(runner, tmp_path):
10141016 # This should fail since it won't be able to locate the pipeline in this path
10151017 with pytest .raises (ClickException , match = r".*Could not attach to pipeline*" ):
10161018 init_example_project (
1017- tmp_path , "duckdb" , ProjectTemplate .DLT , "sushi" , dlt_path = "./dlt2/pipelines"
1019+ tmp_path ,
1020+ "duckdb" ,
1021+ template = ProjectTemplate .DLT ,
1022+ pipeline = "sushi" ,
1023+ dlt_path = "./dlt2/pipelines" ,
10181024 )
10191025
10201026 # By setting the pipelines path where the pipeline directory is located, it should work
10211027 dlt_path = get_dlt_pipelines_dir ()
1022- init_example_project (tmp_path , "duckdb" , ProjectTemplate .DLT , "sushi" , dlt_path = dlt_path )
1028+ init_example_project (
1029+ tmp_path , "duckdb" , template = ProjectTemplate .DLT , pipeline = "sushi" , dlt_path = dlt_path
1030+ )
10231031
10241032 expected_config = f"""# --- Gateway Connection ---
10251033gateways:
0 commit comments