Skip to content

Commit ab51ba1

Browse files
author
Tom McCarthy
committed
chore: Correct file path in example
1 parent b1f711f commit ab51ba1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/core/event_handler/appsync.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ Here's an example of how you can test your synchronous resolvers:
785785

786786
def test_direct_resolver():
787787
# Load mock event from a file
788-
json_file = "../../events/appSyncDirectResolver.json"
788+
json_file = "appSyncDirectResolver.json"
789789
fh = open(file)
790790
mock_event = json.load(fh)
791791

@@ -827,7 +827,7 @@ And an example for testing asynchronous resolvers. Note that this requires the `
827827
@pytest.mark.asyncio
828828
async def test_direct_resolver():
829829
# Load mock event from a file
830-
json_file = "../../events/appSyncDirectResolver.json"
830+
json_file = "appSyncDirectResolver.json"
831831
fh = open(file)
832832
mock_event = json.load(fh)
833833

0 commit comments

Comments
 (0)