Fix tests
This commit is contained in:
parent
00353837b4
commit
89661e8fbc
18 changed files with 14 additions and 16 deletions
|
|
@ -1,4 +1,4 @@
|
|||
from sus.publication_tei.models import (
|
||||
from great_ai.utilities.publication_tei.models import (
|
||||
Affiliation,
|
||||
Author,
|
||||
Bookmark,
|
||||
|
|
@ -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>! <3 <> < ></><> <> <|'
|
||||
|
|
@ -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.
|
||||
|
|
@ -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 = [
|
||||
|
|
@ -3,7 +3,6 @@ from pathlib import Path
|
|||
|
||||
from src.great_ai.utilities.publication_tei import PublicationTEI
|
||||
|
||||
|
||||
from .data.parsed import (
|
||||
abstract,
|
||||
authors,
|
||||
|
|
@ -2,7 +2,6 @@ import unittest
|
|||
|
||||
from src.great_ai.utilities.unique import unique
|
||||
|
||||
|
||||
original = [
|
||||
("a", 1),
|
||||
("b", 5),
|
||||
Loading…
Add table
Add a link
Reference in a new issue