Skip to content

Commit

Permalink
Added line to test that index route contains part of the expected HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
kylegunby committed Jun 28, 2023
1 parent 1d606f8 commit cc47193
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/tests/src/route/test_index_route.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
def test_get_index_200(client):
response = client.get("/")
assert response.status_code == 200
assert "<h1>Home</h1>" in response.text

0 comments on commit cc47193

Please sign in to comment.