From ff4380b5a061eeabcc1970c26fe61d939bc9b381 Mon Sep 17 00:00:00 2001 From: Beverly Nguyen Date: Tue, 22 Oct 2024 16:48:07 -0700 Subject: [PATCH] fixed testing --- tests/app/main/views/test_index.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/app/main/views/test_index.py b/tests/app/main/views/test_index.py index 2ea0a1d9f..56ea2c728 100644 --- a/tests/app/main/views/test_index.py +++ b/tests/app/main/views/test_index.py @@ -132,7 +132,7 @@ def test_static_pages(client_request, mock_get_organization_by_domain, view, moc @pytest.mark.parametrize( - ("endpoint, template"), + ("endpoint", "template"), [ ("main.guidance", "views/guidance/guidance.html"), ("main.clear_goals", "views/guidance/clear-goals.html"), @@ -144,10 +144,7 @@ def test_static_pages(client_request, mock_get_organization_by_domain, view, moc ] ) def test_guidance_routes(client_request, endpoint, template): - # Make the request to the endpoint page = client_request.get(endpoint) - - # Assert that the page loads successfully (HTTP 200 OK) assert page.status_code == 200