Skip to content

Commit

Permalink
add tests for azure functions template
Browse files Browse the repository at this point in the history
  • Loading branch information
ks6088ts committed Sep 8, 2024
1 parent 4039872 commit cdc0e0b
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/templates/test_azure_functions_basic.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from fastapi import status
from fastapi.testclient import TestClient

from templates.azure_functions_basic.core import app

client = TestClient(app)


def test_root():
response = client.get("/info")
assert response.status_code == status.HTTP_200_OK

0 comments on commit cdc0e0b

Please sign in to comment.