Skip to content

Commit 7ea3f8b

Browse files
whummerclaude
andcommitted
Fix conftest api_endpoint fixture: tflocal output -json returns raw value
tflocal output -json <name> returns the value directly as JSON, not {"value": "..."}. Indexing with ["value"] caused TypeError. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent ea8664f commit 7ea3f8b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

02-e2e-testing/tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ def api_endpoint():
3333
["tflocal", "output", "-json", "api_endpoint"],
3434
cwd="../01-serverless-app/terraform",
3535
)
36-
return json.loads(result)["value"]
36+
return json.loads(result)

0 commit comments

Comments
 (0)