Skip to content
Snippets Groups Projects
Verified Commit 226dcf7a authored by Yoann Schneider's avatar Yoann Schneider :tennis:
Browse files

fixtures

parent a2a2975a
No related branches found
No related tags found
1 merge request!20Some small refactoring
Pipeline #104002 passed
......@@ -10,7 +10,7 @@ cache:
linter:
stage: test
image: python:3.8
image: python:3
cache:
paths:
......@@ -31,7 +31,7 @@ linter:
tests:
stage: test
image: python:3.8
image: python:3
cache:
paths:
......
# -*- coding: utf-8 -*-
from pathlib import Path
import pytest
FIXTURES = Path(__file__).parent / "fixtures"
@pytest.fixture
def fake_annot_bio():
return FIXTURES / "test_annot.bio"
@pytest.fixture
def fake_predict_bio():
return FIXTURES / "test_predict.bio"
@pytest.fixture
def empty_bio():
return FIXTURES / "test_empty.bio"
@pytest.fixture
def bad_bio():
return FIXTURES / "test_bad.bio"
@pytest.fixture
def bioeslu_bio():
return FIXTURES / "bioeslu.bio"
@pytest.fixture
def end_of_file_bio():
return FIXTURES / "end_of_file.bio"
@pytest.fixture
def nested_bio():
return FIXTURES / "test_nested.bio"
@pytest.fixture
def folder_bio():
return Path("test_folder")
@pytest.fixture()
def csv_file():
return Path("test_mapping_file.csv")
Gérard B-PER
de I-PER
Nerval I-PER
was O
born O
in O
Paris U-LOC
in O
1808 S-DAT
. O
Louis B-PER
par I-PER
la I-PER
grâce I-PER
de I-PER
Dieu I-PER
roy I-PER
de I-PER
France B-LOC
et I-PER
de I-PER
Navarre B-LOC
Gérard B-PER
de I-PER
Nerval I-PER
was O
born O
in O
Paris B-LOC
in O
1808 B-DAT
. O
This B-
file
is O
not O
build O-
as B-LOC B-PER
a
BIO
file
is
expected
.
Louis B-PER
par I-PER
la I-PER
grâce I-PER
de I-PER
Dieu I-PER
roy I-PER
de I-PER
France B-LOC
et I-PER
de I-PER
Navarre B-LOC
. O
G*rard B-PER
de I-PER
*N*erval I-PER
bo*rn O
in O
Paris B-***
in O
1833 B-DAT
*. O
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment