Skip to content

Commit

Permalink
functional test of configuration page
Browse files Browse the repository at this point in the history
  • Loading branch information
sabioes committed Nov 4, 2024
1 parent eedcdf7 commit 5da4748
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/functional/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,9 @@ def test_about_page(client):
response = client.get("/about")
assert response.status_code == 200
#An example for future implementations
assert b"PGImporter" in response.data
assert b"PGImporter" in response.data

def test_config_page(client):
response = client.get("/configs")
assert response.status_code == 200
assert b"Configuration" in response.data

0 comments on commit 5da4748

Please sign in to comment.