Fix tests

This commit is contained in:
Andras Schmelczer 2022-05-25 19:49:14 +02:00
parent 00353837b4
commit 89661e8fbc
No known key found for this signature in database
GPG key ID: 39260B5B0614A13E
18 changed files with 14 additions and 16 deletions

View file

@ -1,4 +1,4 @@
from sus.publication_tei.models import (
from great_ai.utilities.publication_tei.models import (
Affiliation,
Author,
Bookmark,

View file

@ -3,7 +3,6 @@ import unittest
from src.great_ai.utilities.clean import clean
class TestClean(unittest.TestCase):
def test_xml_handling(self) -> None:
xml = '<strong>Hi, </strong> my name<br/>is <span style="color: hotpink;"> András</span>! &lt;&#51; <> < ></><> &lt;&gt; <|'

View file

@ -3,7 +3,6 @@ import unittest
from src.great_ai.utilities.get_sentences import get_sentences
class TestGetSentences(unittest.TestCase):
def test_default(self) -> None:
text = "This is a complete sentence. So is this. However this is n" # ot.

View file

@ -3,7 +3,6 @@ import unittest
from src.great_ai.utilities.match_names.match_names import match_names
class TestMatchNames(unittest.TestCase):
def test_grid(self) -> None:
names = [

View file

@ -3,7 +3,6 @@ from pathlib import Path
from src.great_ai.utilities.publication_tei import PublicationTEI
from .data.parsed import (
abstract,
authors,

View file

@ -2,7 +2,6 @@ import unittest
from src.great_ai.utilities.unique import unique
original = [
("a", 1),
("b", 5),