File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
tests/integration/source_code Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -595,7 +595,7 @@ def test_job_dlt_task_linter_unhappy_path(
595595 make_pipeline ,
596596) -> None :
597597 entrypoint = make_directory ()
598- make_notebook (path = f"{ entrypoint } /notebook.py" , content = b"import greenlet " )
598+ make_notebook (path = f"{ entrypoint } /notebook.py" , content = b"import library_not_found " )
599599 dlt_pipeline = make_pipeline (
600600 libraries = [pipelines .PipelineLibrary (notebook = NotebookLibrary (path = f"{ entrypoint } /notebook.py" ))]
601601 )
@@ -608,7 +608,9 @@ def test_job_dlt_task_linter_unhappy_path(
608608
609609 problems , * _ = simple_ctx .workflow_linter .lint_job (j .job_id )
610610
611- assert len ([problem for problem in problems if problem .message == "Could not locate import: greenlet" ]) == 1
611+ assert (
612+ len ([problem for problem in problems if problem .message == "Could not locate import: library_not_found" ]) == 1
613+ )
612614
613615
614616def test_job_dlt_task_linter_happy_path (
You can’t perform that action at this time.
0 commit comments