@@ -180,8 +180,9 @@ def test_writeable_dbfs(ws, tmp_path, mock_installation) -> None:
180
180
181
181
182
182
def test_run_workflow_creates_proper_failure (ws , mocker , mock_installation_with_jobs ):
183
- def run_now (job_id ):
183
+ def run_now (job_id , job_parameters : dict [ str , Any ] | None = None ):
184
184
assert job_id == 123
185
+ assert job_parameters is None
185
186
186
187
def result ():
187
188
raise OperationFailed (...)
@@ -215,8 +216,9 @@ def result():
215
216
216
217
217
218
def test_run_workflow_run_id_not_found (ws , mocker , mock_installation_with_jobs ):
218
- def run_now (job_id ):
219
+ def run_now (job_id , job_parameters : dict [ str , Any ] | None = None ):
219
220
assert job_id == 123
221
+ assert job_parameters is None
220
222
221
223
def result ():
222
224
raise OperationFailed (...)
@@ -246,8 +248,9 @@ def result():
246
248
247
249
248
250
def test_run_workflow_creates_failure_from_mapping (ws , mocker , mock_installation , mock_installation_with_jobs ):
249
- def run_now (job_id ):
251
+ def run_now (job_id , job_parameters : dict [ str , Any ] | None = None ):
250
252
assert job_id == 123
253
+ assert job_parameters is None
251
254
252
255
def result ():
253
256
raise OperationFailed (...)
@@ -281,8 +284,9 @@ def result():
281
284
282
285
283
286
def test_run_workflow_creates_failure_many_error (ws , mocker , mock_installation_with_jobs ):
284
- def run_now (job_id ):
287
+ def run_now (job_id , job_parameters : dict [ str , Any ] | None = None ):
285
288
assert job_id == 123
289
+ assert job_parameters is None
286
290
287
291
def result ():
288
292
raise OperationFailed (...)
0 commit comments