(test) installing litellm

This commit is contained in:
ishaan-jaff 2024-03-09 18:11:11 -08:00
parent bef38f886b
commit 7b63da2d75
2 changed files with 22 additions and 67 deletions

View file

@ -0,0 +1,16 @@
import sys, os, time
import traceback, asyncio
import pytest
sys.path.insert(
0, os.path.abspath("../..")
) # Adds the parent directory to the system path
def test_using_litellm():
try:
import litellm
except Exception as e:
pytest.fail(
f"Error occurred: {e}. Installing litellm on python3.8 failed please retry"
)