Skip to content

Commit

Permalink
update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pandomic committed Nov 28, 2024
1 parent 564ce5d commit 75c54cb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ on:
- ubuntu-latest
env:
LOCALSTACK_API_KEY: ${{ secrets.LOCALSTACK_API_KEY }}
LOCALSTACK_PROJECT_ID: ${{ secrets.LOCALSTACK_PROJECT_ID }}
LOCALSTACK_PIPELINE_ID: ${{ secrets.LOCALSTACK_PIPELINE_ID }}
LOCALSTACK_PROJECT_ID: ${{ env.LOCALSTACK_PROJECT_ID }}
LOCALSTACK_PIPELINE_ID: ${{ env.LOCALSTACK_PIPELINE_ID }}

jobs:
integration-test-job:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def test_faulty_assertion(api_endpoint):
test_quiz_workflow(api_endpoint=api_endpoint)

response = requests.get(f"{api_endpoint}/getleaderboard?quiz_id=wrongid&top=3")
assert response.status_code == 200
assert response.status_code == 500

def test_faulty_invocation(api_endpoint):
test_quiz_workflow(api_endpoint=api_endpoint)
Expand Down

0 comments on commit 75c54cb

Please sign in to comment.