We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86ae695 commit a3e4821Copy full SHA for a3e4821
docs/getting-started.md
@@ -168,13 +168,14 @@ pip install aws-durable-execution-sdk-python-testing
168
169
```python
170
import pytest
171
+from aws_durable_execution_sdk_python.execution import InvocationStatus
172
from my_function import handler
173
174
@pytest.mark.durable_execution(handler=handler, lambda_function_name="my_function")
175
def test_my_function(durable_runner):
176
with durable_runner:
177
result = durable_runner.run(input={"data": "test"}, timeout=10)
- assert result.status == "SUCCEEDED"
178
+ assert result.status == InvocationStatus.SUCCEEDED
179
```
180
181
Run tests without AWS credentials:
0 commit comments