diff --git a/web/tests/test_web.py b/web/tests/test_web.py index d1101bd..f878397 100644 --- a/web/tests/test_web.py +++ b/web/tests/test_web.py @@ -1,13 +1,16 @@ # web/tests/test_web.py import pytest + from app import app + @pytest.fixture def client(): - app.config['TESTING'] = True + app.config["TESTING"] = True with app.test_client() as client: yield client + def test_index(client): - response = client.get('/') + response = client.get("/") assert response.status_code == 200