Skip to content

Commit

Permalink
tests: fix xpack ci nltk issue (#7443)
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 4f8d8cc6a98aac96364694c3d62ea612bd557189
  • Loading branch information
berkecanrizai authored and Manul from Pathway committed Oct 8, 2024
1 parent e72357a commit 46a81b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions integration_tests/webserver/conftest.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import nltk
import pytest

from pathway.tests.utils import UniquePortDispenser
Expand All @@ -8,3 +9,7 @@
@pytest.fixture
def port(testrun_uid):
yield PORT_DISPENSER.get_unique_port(testrun_uid)


def pytest_configure(config):
nltk.download("punkt")
8 changes: 1 addition & 7 deletions integration_tests/webserver/test_llm_xpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@
# ignore the imports
import os
import pathlib
from typing import List

import nltk

nltk.download("punkt")

from typing import Any, TypeAlias
from typing import Any, List, TypeAlias

import openapi_spec_validator
import pytest
Expand Down

0 comments on commit 46a81b9

Please sign in to comment.