Move files
This commit is contained in:
parent
d2af1b8151
commit
f160b07163
159 changed files with 104 additions and 88 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.great_ai.large_file.helper import human_readable_to_byte
|
||||
from src.large_file.helper import human_readable_to_byte
|
||||
|
||||
|
||||
class TestHumanReadableToByte(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import boto3
|
|||
PATH = Path(__file__).parent.resolve()
|
||||
|
||||
|
||||
from src.great_ai import LargeFileS3
|
||||
from src.large_file import LargeFileS3
|
||||
|
||||
credentials = {
|
||||
"aws_region_name": "your_region_like_eu-west-2",
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import unittest
|
|||
|
||||
import pytest
|
||||
|
||||
from src.great_ai.utilities import chunk
|
||||
from src.utilities import chunk
|
||||
|
||||
|
||||
class TestChunk(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.great_ai.utilities import clean
|
||||
from src.utilities import clean
|
||||
|
||||
|
||||
class TestClean(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ from pathlib import Path
|
|||
|
||||
import pytest
|
||||
|
||||
from src.great_ai.utilities import ConfigFile
|
||||
from src.utilities import ConfigFile
|
||||
|
||||
DATA_PATH = Path(__file__).parent.resolve() / "data"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import matplotlib
|
|||
|
||||
matplotlib.use("Agg") # don't show a window for each test
|
||||
|
||||
from src.great_ai.utilities import evaluate_ranking
|
||||
from src.utilities import evaluate_ranking
|
||||
|
||||
|
||||
class TestEvaluateRanking(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.great_ai.utilities import get_sentences
|
||||
from src.utilities import get_sentences
|
||||
|
||||
|
||||
class TestGetSentences(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,10 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.great_ai.utilities import (
|
||||
english_name_of_language,
|
||||
is_english,
|
||||
predict_language,
|
||||
)
|
||||
from src.utilities import english_name_of_language, is_english, predict_language
|
||||
|
||||
|
||||
class TestLanguage(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.great_ai.utilities import match_names
|
||||
from src.utilities import match_names
|
||||
|
||||
|
||||
class TestMatchNames(unittest.TestCase):
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import unittest
|
|||
|
||||
import pytest
|
||||
|
||||
from src.great_ai.utilities import WorkerException, parallel_map
|
||||
from src.utilities import WorkerException, parallel_map
|
||||
|
||||
COUNT = int(1e5) + 3
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import unittest
|
|||
|
||||
import pytest
|
||||
|
||||
from src.great_ai.utilities import WorkerException, threaded_parallel_map
|
||||
from src.utilities import WorkerException, threaded_parallel_map
|
||||
|
||||
COUNT = int(1e5) + 3
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import unittest
|
||||
|
||||
from src.great_ai.utilities import unique
|
||||
from src.utilities import unique
|
||||
|
||||
original = [
|
||||
("a", 1),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue