Mocking nodes with pytest #3204
Unanswered
baswenneker
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't get this working: mocking a node in my graph.
I'd like to patch
get_messages_node
inagents.core.generate_title_agent
.In the Pytest:
But
mock_node.assert_called_once()
fails.Any ideas how to overcome this?
Beta Was this translation helpful? Give feedback.
All reactions