mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
(test) cleanup
This commit is contained in:
parent
23ae967326
commit
d8a11b7ee6
1 changed files with 0 additions and 4 deletions
|
@ -73,8 +73,6 @@ def test_generate_and_call_with_valid_key():
|
||||||
print("result from user auth with new key", result)
|
print("result from user auth with new key", result)
|
||||||
|
|
||||||
asyncio.run(test())
|
asyncio.run(test())
|
||||||
# result = user_auth(ValidRequest(key))
|
|
||||||
# assert result is True
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
pytest.fail(f"An exception occurred - {str(e)}")
|
pytest.fail(f"An exception occurred - {str(e)}")
|
||||||
|
|
||||||
|
@ -97,8 +95,6 @@ def test_call_with_invalid_key():
|
||||||
pytest.fail(f"This should have failed!")
|
pytest.fail(f"This should have failed!")
|
||||||
|
|
||||||
asyncio.run(test())
|
asyncio.run(test())
|
||||||
# result = user_auth(ValidRequest(key))
|
|
||||||
# assert result is True
|
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("Got Exception", e)
|
print("Got Exception", e)
|
||||||
print(str(e))
|
print(str(e))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue