Upgrades Server to Allow Production Deployment #2
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 misc
|
||||
|
||||
from src.database import get_comments_by_id
|
||||
from src.database import get_comment_ids
|
||||
from src.database import get_claim_comments
|
||||
from src.writes import create_comment_or_error
|
||||
from server.database import get_comments_by_id
|
||||
from server.database import get_comment_ids
|
||||
from server.database import get_claim_comments
|
||||
from server.writes import create_comment_or_error
|
||||
from tests.testcase import DatabaseTestCase
|
||||
|
||||
fake = faker.Faker()
|
||||
|
|
|
@ -8,7 +8,7 @@ from faker.providers import internet
|
|||
from faker.providers import lorem
|
||||
from faker.providers import misc
|
||||
|
||||
from src.settings import config
|
||||
from settings import config
|
||||
|
||||
fake = faker.Faker()
|
||||
fake.add_provider(internet)
|
||||
|
|
|
@ -6,8 +6,8 @@ from unittest.case import _Outcome
|
|||
import asyncio
|
||||
|
||||
from schema.db_helpers import setup_database, teardown_database
|
||||
from src.database import obtain_connection
|
||||
from src.settings import config
|
||||
from server.database import obtain_connection
|
||||
from settings import config
|
||||
|
||||
|
||||
class AsyncioTestCase(unittest.TestCase):
|
||||
|
|
Loading…
Reference in a new issue