Skip to content

Commit

Permalink
duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
dlilue committed May 23, 2024
1 parent 6e67c7e commit e1f1c05
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions tests/multi_tenant_b2c/test_multi_tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,15 +121,6 @@ async def test_no_keys_to_decode_with(multi_tenant_app, mock_openid_and_empty_ke
assert response.json() == {'detail': 'Unable to verify token, no signing keys found'}


@pytest.mark.anyio
async def test_no_keys_to_decode_with(multi_tenant_app, mock_openid_and_empty_keys):
async with AsyncClient(
app=app, base_url='http://test', headers={'Authorization': 'Bearer ' + build_access_token(version=2)}
) as ac:
response = await ac.get('api/v1/hello')
assert response.json() == {'detail': 'Unable to verify token, no signing keys found'}


@pytest.mark.anyio
async def test_normal_user_rejected(multi_tenant_app, mock_openid_and_keys):
async with AsyncClient(
Expand Down

0 comments on commit e1f1c05

Please sign in to comment.