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

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

未关闭
#436 1 条评论 0 个 reaction 已指派 1 人 已被 @yaythomas 认领 在 GitHub 查看
pkg:testing
主要语言
Python
星标
53
派生
25
平均合并
1 天 19 小时
30 天内合并 PR
40

描述

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!

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。