Skip to content

Commit da7c83c

Browse files
committed
More work to do on tool tests cuz they need dependencies.
1 parent 80e0299 commit da7c83c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/tools/test_tool_vision.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ def setUp(self):
1212
tool = ToolConfig.from_tool_name('vision')
1313
for dependency in tool.dependencies:
1414
os.system(f"pip install {dependency}")
15+
16+
try:
17+
from agentstack._tools import vision
18+
except ImportError as e:
19+
self.skipTest(str(e))
1520

1621
def test_get_media_type(self):
1722
from agentstack._tools.vision import _get_media_type

0 commit comments

Comments
 (0)