Refactor + fault-tolerance

This commit is contained in:
Oleg Silkin 2019-05-21 15:13:08 -04:00
parent 0da5f4e3e3
commit 3ab97b171a
11 changed files with 64 additions and 18 deletions

View file

@ -5,10 +5,10 @@ from faker.providers import internet
from faker.providers import lorem
from faker.providers import misc
from lbry_comment_server.database import get_comments_by_id, create_comment, get_comment_ids, create_comment_async, \
from src.database import get_comments_by_id, create_comment, get_comment_ids, create_comment_async, \
get_claim_comments
from schema.db_helpers import setup_database, teardown_database
from lbry_comment_server.settings import config
from src.settings import config
from tests.testcase import DatabaseTestCase, AsyncioTestCase
fake = faker.Faker()