Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
monkeypatch to active
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed Apr 8, 2024
1 parent 072abc6 commit a274ed1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a274ed1

Please sign in to comment.