Skip to content

Commit

Permalink
Add unstructured to dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheepsta300 committed Oct 18, 2024
1 parent 0adc2d7 commit 1e72212
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions libs/community/extended_testing_deps.txt
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ timescale-vector==0.0.1
tqdm>=4.48.0
tree-sitter>=0.20.2,<0.21
tree-sitter-languages>=1.8.0,<2
unstructured>=0.16.0
upstash-redis>=1.1.0,<2
upstash-ratelimit>=1.1.0,<2
vdms>=0.0.20
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@


@pytest.mark.requires("azure.ai.translation.text")
@pytest.mark.requires("unstructured")
def test_tool_initialization(mocker: Any) -> None:
mocker.patch("azure.core.credentials.AzureKeyCredential", autospec=True)

Expand Down Expand Up @@ -41,6 +42,7 @@ def test_tool_initialization(mocker: Any) -> None:


@pytest.mark.requires("azure.ai.translation.text")
@pytest.mark.requires("unstructured")
def test_translation_with_file(mocker: Any) -> None:
key = "key"
endpoint = "endpoint"
Expand Down Expand Up @@ -77,6 +79,7 @@ def test_translation_with_file(mocker: Any) -> None:


@pytest.mark.requires("azure.ai.translation.text")
@pytest.mark.requires("unstructured")
def test_translation_with_no_file(mocker: Any) -> None:
key = "key"
endpoint = "endpoint"
Expand Down

0 comments on commit 1e72212

Please sign in to comment.