aws / aws/aws-durable-execution-sdk-python

[Testing] [feature]: mock response for chained invoke

Open
#436 1 comment 0 reactions 1 assignee Claimed by @yaythomas View on GitHub
pkg:testing
Dominant language
Python
Stars
53
Forks
25
Avg merge
1d 17h
Merged PRs (30d)
37

Description

Migration from https://github.com/aws/aws-durable-execution-sdk-python-testing/issues/209

---

### Discussed in https://github.com/aws/aws-durable-execution-sdk-python-testing/discussions/187

Originally posted by **Squatch89** January 9, 2026
Hello,

I am spear heading the adoption of using durable functions on my team. Part of that process is writing tests. I have run into an issue testing my durable function. When I get to the step that calls context.invoke my test just spins forever. Am I supposed to be setting up a mock response for the invoke, or can I expect a result to come back from the code in my container. I have been unable to find an example for something like this in docs.
If there's any additional information you might need please let me know.

Thanks in advance!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.