File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99from src import hello_world
1010
1111
12- class TestExamples :
13- """Integration tests for examples."""
12+ def test_hello_world ():
13+ """Test hello world example."""
14+ with DurableFunctionTestRunner (handler = hello_world .handler ) as runner :
15+ result : DurableFunctionTestResult = runner .run (input = "test" , timeout = 10 )
1416
15- def test_hello_world (self ):
16- """Test hello world example."""
17- with DurableFunctionTestRunner (handler = hello_world .handler ) as runner :
18- result : DurableFunctionTestResult = runner .run (input = "test" , timeout = 10 )
19-
20- assert result .status is InvocationStatus .SUCCEEDED # noqa: S101
21- assert result .result == '"Hello World!"' # noqa: S101
17+ assert result .status is InvocationStatus .SUCCEEDED # noqa: S101
18+ assert result .result == "Hello World!" # noqa: S101
You can’t perform that action at this time.
0 commit comments