Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

Commit e240d0e

Browse files
test: fix home page status code assertion for correct behavior
1 parent de6d1a6 commit e240d0e

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

tests/test_api.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ def client():
1616
def test_home_page(client):
1717
"""Test that the home page loads."""
1818
response = client.get("/")
19-
# intentionally wrong status for CI test
20-
assert response.status_code == 404
19+
assert response.status_code == 200
2120
assert b"Malware Detection" in response.data
2221

2322

0 commit comments

Comments
 (0)