diff --git a/tests/test_routes.py b/tests/test_routes.py index d8bdde3..96bd9c0 100644 --- a/tests/test_routes.py +++ b/tests/test_routes.py @@ -16,7 +16,8 @@ def test_index_page(flask_test_client): assert response.location == "/dashboard" -def test_select_fund_page_with_tf_role(flask_test_client): +def test_select_fund_page_with_tf_role(flask_test_client, monkeypatch): + monkeypatch.setattr(TOWNS_FUND_APP_CONFIG, "active", True) response = flask_test_client.get("/dashboard") page_html = BeautifulSoup(response.data) assert response.status_code == 200