Skip to content
Snippets Groups Projects
Commit e2ca6f80 authored by Paweł Walkowiak's avatar Paweł Walkowiak
Browse files

Update lang path

parent c7b861d9
No related branches found
No related tags found
1 merge request!20Tests
Pipeline #12271 passed
......@@ -52,7 +52,7 @@ async def test_text():
@pytest.fixture(scope="session")
async def language_tool_location():
return "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages"
return "/builds/nlpworkers/punctuator/.tox/pytest/lib/python3.8/site-packages/language_tool_python"
@pytest.fixture(scope="session")
......
......@@ -3,14 +3,6 @@ from src.language_tool import LanguageToolFixer
from filecmp import cmp
import pytest
# LANGUAGE_TOOL_LOCATION = "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages"
# "/builds/nlpworkers/punctuator/.tox/pytest/lib/python3.8/site-packages/language_tool_python"
# TEST_FILES_TEMPLATE = {
# 'input': './example_texts/input/',
# 'output': './example_texts/output/',
# 'expected': './example_texts/expected/',
# }
def language_process_test(worker, input_dir, output_dir, expected_dir, language='pl'):
worker.process(f"{input_dir}{language}.txt", {"language": language}, f"{output_dir}{language}.txt")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment