mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-15 23:31:29 +00:00
fix: remove fragile pytest import guard in test file
This commit is contained in:
parent
d2798cb003
commit
7fbd182670
1 changed files with 3 additions and 5 deletions
|
|
@ -4,12 +4,10 @@ Tests for Telnyx provider configuration via JSON providers system.
|
|||
|
||||
import os
|
||||
import sys
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
try:
|
||||
import pytest
|
||||
except ImportError:
|
||||
pytest = None
|
||||
import pytest
|
||||
|
||||
from unittest.mock import MagicMock, patch
|
||||
|
||||
# Add workspace to path
|
||||
workspace_path = os.path.abspath(os.path.join(os.path.dirname(__file__), "../../../.."))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue