File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/event_handler_graphql/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3
3
from pathlib import Path
4
4
5
5
import pytest
6
- from assert_async_graphql_response_module import Location , app # instance of AppSyncResolver
6
+ from assert_async_graphql_response_module import Todo , app # instance of AppSyncResolver
7
7
8
8
9
9
@pytest .fixture
@@ -24,7 +24,7 @@ async def test_async_direct_resolver(lambda_context):
24
24
fake_event = json .loads (Path ("assert_async_graphql_response.json" ).read_text ())
25
25
26
26
# WHEN
27
- result : list [Location ] = await app (fake_event , lambda_context )
27
+ result : list [Todo ] = await app (fake_event , lambda_context )
28
28
# alternatively, you can also run a sync test against `lambda_handler`
29
29
# since `lambda_handler` awaits the coroutine to complete
30
30
You can’t perform that action at this time.
0 commit comments