Test the root route returns index.html
()
| 13 | |
| 14 | |
| 15 | def test_root_route(): |
| 16 | """Test the root route returns index.html""" |
| 17 | response = client.get("/") |
| 18 | assert response.status_code == 200 |
| 19 | assert "text/html" in response.headers["content-type"] |
| 20 | |
| 21 | |
| 22 | def test_main_js_route(): |