More refactoring
This commit is contained in:
parent
6512ec78cd
commit
4e977072a9
3 changed files with 7 additions and 7 deletions
|
@ -5,10 +5,10 @@ from faker.providers import internet
|
||||||
from faker.providers import lorem
|
from faker.providers import lorem
|
||||||
from faker.providers import misc
|
from faker.providers import misc
|
||||||
|
|
||||||
from src.database import get_comments_by_id
|
from server.database import get_comments_by_id
|
||||||
from src.database import get_comment_ids
|
from server.database import get_comment_ids
|
||||||
from src.database import get_claim_comments
|
from server.database import get_claim_comments
|
||||||
from src.writes import create_comment_or_error
|
from server.writes import create_comment_or_error
|
||||||
from tests.testcase import DatabaseTestCase
|
from tests.testcase import DatabaseTestCase
|
||||||
|
|
||||||
fake = faker.Faker()
|
fake = faker.Faker()
|
||||||
|
|
|
@ -8,7 +8,7 @@ from faker.providers import internet
|
||||||
from faker.providers import lorem
|
from faker.providers import lorem
|
||||||
from faker.providers import misc
|
from faker.providers import misc
|
||||||
|
|
||||||
from src.settings import config
|
from settings import config
|
||||||
|
|
||||||
fake = faker.Faker()
|
fake = faker.Faker()
|
||||||
fake.add_provider(internet)
|
fake.add_provider(internet)
|
||||||
|
|
|
@ -6,8 +6,8 @@ from unittest.case import _Outcome
|
||||||
import asyncio
|
import asyncio
|
||||||
|
|
||||||
from schema.db_helpers import setup_database, teardown_database
|
from schema.db_helpers import setup_database, teardown_database
|
||||||
from src.database import obtain_connection
|
from server.database import obtain_connection
|
||||||
from src.settings import config
|
from settings import config
|
||||||
|
|
||||||
|
|
||||||
class AsyncioTestCase(unittest.TestCase):
|
class AsyncioTestCase(unittest.TestCase):
|
||||||
|
|
Loading…
Reference in a new issue