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 @@ -86,7 +86,7 @@ def test_job_task_linter_library_not_installed_cluster(
8686 created_cluster = make_cluster (single_node = True )
8787 entrypoint = make_directory ()
8888
89- notebook = make_notebook (path = f"{ entrypoint } /notebook.ipynb" , content = b"import greenlet " )
89+ notebook = make_notebook (path = f"{ entrypoint } /notebook.ipynb" , content = b"import library_not_found " )
9090
9191 task = jobs .Task (
9292 task_key = make_random (4 ),
@@ -100,7 +100,9 @@ def test_job_task_linter_library_not_installed_cluster(
100100
101101 problems , * _ = simple_ctx .workflow_linter .lint_job (j .job_id )
102102
103- assert len ([problem for problem in problems if problem .message == "Could not locate import: greenlet" ]) == 1
103+ assert (
104+ len ([problem for problem in problems if problem .message == "Could not locate import: library_not_found" ]) == 1
105+ )
104106
105107
106108def test_job_task_linter_library_installed_cluster (
You can’t perform that action at this time.
0 commit comments