Skip to main content
Glama
testfiletohtml.py445 B
""" FileToHTML module tests """ import os import unittest from unittest.mock import patch from txtai.pipeline.data.filetohtml import Tika class TestFileToHTML(unittest.TestCase): """ FileToHTML tests. """ @patch.dict(os.environ, {"TIKA_JAVA": "1112444abc"}) def testTika(self): """ Test the Tika.available returns False when Java is not available """ self.assertFalse(Tika.available())

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neuml/txtai'

If you have feedback or need assistance with the MCP directory API, please join our Discord server