test: remove obsolete nonexistence checks
This commit is contained in:
1 parent
c08172a641
commit
3495281282
24 files changed
+8
-407
No files matched your search
@@ -40,10 +40,6 @@ class TestReadDescriptionFix:
|
||||
tool = ReadFileTool()
|
||||
assert "image" in tool.description.lower()
|
||||
|
||||
def test_description_no_longer_says_cannot_read_images(self):
|
||||
tool = ReadFileTool()
|
||||
assert "cannot read binary files or images" not in tool.description.lower()
|
||||
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
# Read deduplication
|
||||
@@ -542,7 +538,3 @@ class TestReadDescriptionUpdate:
|
||||
tool = ReadFileTool()
|
||||
desc = tool.description.lower()
|
||||
assert "document" in desc or "docx" in desc or "xlsx" in desc or "pptx" in desc
|
||||
|
||||
def test_description_no_longer_says_cannot_read(self):
|
||||
tool = ReadFileTool()
|
||||
assert "cannot read" not in tool.description.lower()
|
||||
Reference in new issue
Block a user