Skip to content

Commit

Permalink
fix: changes didn't get pushed...
Browse files Browse the repository at this point in the history
  • Loading branch information
lchen-2101 committed Apr 19, 2024
1 parent 7abf6a8 commit ec9a788
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
5 changes: 1 addition & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 5 additions & 2 deletions tests/api/routers/test_institutions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ def test_invalid_tax_id(self, mocker: MockerFixture, app_fixture: FastAPI, authe
},
)
assert (
res.json()["error_detail"][0]["msg"] == f"Value error, Invalid tax_id 123456789. {regex_configs.tin.error_text}"
res.json()["error_detail"][0]["msg"]
== f"Value error, Invalid tax_id 123456789. {regex_configs.tin.error_text}"
)
assert res.status_code == 422

Expand Down Expand Up @@ -119,7 +120,9 @@ def test_invalid_lei(self, mocker: MockerFixture, app_fixture: FastAPI, authed_u
"top_holder_rssd_id": 123456,
},
)
assert res.json()["error_detail"][0]["msg"] == f"Value error, Invalid lei test_Lei. {regex_configs.lei.error_text}"
assert (
res.json()["error_detail"][0]["msg"] == f"Value error, Invalid lei test_Lei. {regex_configs.lei.error_text}"
)
assert res.status_code == 422

def test_create_institution_authed(self, mocker: MockerFixture, app_fixture: FastAPI, authed_user_mock: Mock):
Expand Down

0 comments on commit ec9a788

Please sign in to comment.