Skip to content

Commit

Permalink
fix: adding pytest-asyncio to dev dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
csgulati09 committed Feb 13, 2024
1 parent 42032b3 commit c571c1f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ dev =
pytest==7.4.2
python-dotenv==1.0.0
ruff==0.0.292
pytest-asyncio==0.23.5

[mypy]
ignore_missing_imports = true
Expand Down
2 changes: 1 addition & 1 deletion tests/test_async_chat_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_configs(folder_path) -> List[Dict[str, Any]]:
class TestChatCompletions:
client = AsyncPortkey
parametrize = pytest.mark.parametrize("client", [client], ids=["strict"])
models = read_json_file("./models.json")
models = read_json_file("./tests/models.json")

def get_metadata(self):
return {
Expand Down
2 changes: 1 addition & 1 deletion tests/test_async_complete.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def get_configs(folder_path) -> List[Dict[str, Any]]:
class TestChatCompletions:
client = AsyncPortkey
parametrize = pytest.mark.parametrize("client", [client], ids=["strict"])
models = read_json_file("./models.json")
models = read_json_file("./tests/models.json")

def get_metadata(self):
return {
Expand Down

0 comments on commit c571c1f

Please sign in to comment.