TEST: Added test cases for Upload Documents HTTP API (#5991)

### What problem does this PR solve?

cover upload docments endpoints

### Type of change

- [x] add test cases
This commit is contained in:
liu an
2025-03-12 19:38:52 +08:00
committed by GitHub
parent 7cd37c37cd
commit bd5eb47441
12 changed files with 782 additions and 123 deletions

View File

@ -11,7 +11,13 @@ requires-python = ">=3.10,<3.13"
dependencies = [
"requests>=2.30.0,<3.0.0",
"beartype>=0.18.5,<0.19.0",
"pytest>=8.0.0,<9.0.0"
"pytest>=8.0.0,<9.0.0",
"requests-toolbelt>=1.0.0",
"python-docx>=1.1.2",
"openpyxl>=3.1.5",
"python-pptx>=1.0.2",
"pillow>=11.1.0",
"reportlab>=4.3.1",
]
[project.optional-dependencies]
@ -23,4 +29,4 @@ test = [
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"wip: marks tests as work in progress (deselect with '-m \"not wip\"')"
]
]