forked from phoenix/litellm-mirror
refactor(test_users.py): refactor test for user info to use mock endpoints
This commit is contained in:
parent
66c0d32b1d
commit
d1d28487f7
3 changed files with 47 additions and 9 deletions
|
@ -99,13 +99,6 @@ async def test_user_info():
|
|||
)
|
||||
assert status == 403
|
||||
|
||||
## check if returned teams as admin == all teams ##
|
||||
admin_info = await get_user_info(
|
||||
session=session, get_user="", call_user="sk-1234", view_all=True
|
||||
)
|
||||
all_teams = await list_teams(session=session, i=0)
|
||||
assert len(admin_info["teams"]) == len(all_teams)
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_user_update():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue