diff --git a/python_modules/libraries/dagster-openai/dagster_openai_tests/test_resources.py b/python_modules/libraries/dagster-openai/dagster_openai_tests/test_resources.py index bd2ffa1e1e3d0..1d7ffcb5e3968 100644 --- a/python_modules/libraries/dagster-openai/dagster_openai_tests/test_resources.py +++ b/python_modules/libraries/dagster-openai/dagster_openai_tests/test_resources.py @@ -71,7 +71,7 @@ def openai_op(openai_resource: OpenAIResource): ) assert mock_client.called - assert mock_wrapper.not_called + assert not mock_wrapper.called result = wrap_op_in_graph_and_execute( openai_op,