Skip to content

Commit

Permalink
Linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jcadam14 committed May 6, 2024
1 parent e8e90ef commit d41fbcb
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/api/routers/test_institutions_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,7 @@ def test_invalid_tax_id(self, mocker: MockerFixture, app_fixture: FastAPI, authe
"top_holder_rssd_id": 123456,
},
)
assert (
f"Value error, Invalid tax_id 123456789. {regex_configs.tin.error_text}" in res.json()["error_detail"]
)
assert f"Value error, Invalid tax_id 123456789. {regex_configs.tin.error_text}" in res.json()["error_detail"]
assert res.status_code == 422

def test_invalid_lei(self, mocker: MockerFixture, app_fixture: FastAPI, authed_user_mock: Mock):
Expand Down Expand Up @@ -119,9 +117,7 @@ def test_invalid_lei(self, mocker: MockerFixture, app_fixture: FastAPI, authed_u
"top_holder_rssd_id": 123456,
},
)
assert (
f"Value error, Invalid lei test_Lei. {regex_configs.lei.error_text}" in res.json()["error_detail"]
)
assert f"Value error, Invalid lei test_Lei. {regex_configs.lei.error_text}" in res.json()["error_detail"]
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 d41fbcb

Please sign in to comment.