Skip to content

Commit c8dbe0c

Browse files
hf-kkleinKonstantin
andauthored
chore(tests): fix wrong AsyncMock setup (#682)
Co-authored-by: Konstantin <[email protected]>
1 parent eb7e60f commit c8dbe0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

unittests/test_ahb_expression_evaluation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ def side_effect_rc_evaluation(condition_expression):
194194
)
195195
mocker.patch(
196196
"ahbicht.expressions.ahb_expression_evaluation.format_constraint_evaluation",
197-
return_value=AsyncMock(
198-
side_effect=FormatConstraintEvaluationResult(format_constraints_fulfilled=True, error_message=None)
197+
side_effect=AsyncMock(
198+
return_value=FormatConstraintEvaluationResult(format_constraints_fulfilled=True, error_message=None)
199199
),
200200
)
201201

0 commit comments

Comments
 (0)