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

Commit

Permalink
uncommenting failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
sc15zs committed May 7, 2024
1 parent af6c5c7 commit 9759fdd
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/test_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,11 +268,11 @@ def test_upload_no_file(flask_test_client, example_ingest_wrong_format, mocker):
assert "Select your returns template" in str(page_html)


# def test_unauthenticated_upload(unauthenticated_flask_test_client):
# response = unauthenticated_flask_test_client.get(f"/upload/{TEST_FUND_CODE}/{TEST_ROUND}")
# # Assert redirect to /login
# assert response.status_code == 302
# assert response.location == "/login"
def test_unauthenticated_upload(unauthenticated_flask_test_client):
response = unauthenticated_flask_test_client.get(f"/upload/{TEST_FUND_CODE}/{TEST_ROUND}")
# Assert redirect to /login
assert response.status_code == 302
assert response.location == "/login"


def test_not_signed_in(unauthenticated_flask_test_client):
Expand Down

0 comments on commit 9759fdd

Please sign in to comment.