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

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

Ouverte
#436 1 commentaire 0 réactions 1 personne assignée Réclamée par @yaythomas Voir sur GitHub
pkg:testing
Langage dominant
Python
Étoiles
53
Forks
25
Merge moyen
1 j 19 h
PR mergées (30 j)
40

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!

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.