Upgrades Server to Allow Production Deployment #2

Merged
osilkin98 merged 10 commits from server_upgrade into master 2019-07-24 08:24:25 +02:00
3 changed files with 7 additions and 7 deletions
Showing only changes of commit 4e977072a9 - Show all commits

View file

@ -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()

View file

@ -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)

View file

@ -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):