From 29af8ad521f60a39a946af9e6d4b2372aae9d59f Mon Sep 17 00:00:00 2001 From: thomaswoehlke <thomas.woehlke@gmail.com> Date: Sat, 20 Feb 2021 18:33:26 +0100 Subject: [PATCH] working for 0.0.198 Release --- tests/config.py | 4 ++-- tests/conftest.py | 4 +--- tests/test_flaskr.py | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/config.py b/tests/config.py index 11a80f07..2e23a9f8 100644 --- a/tests/config.py +++ b/tests/config.py @@ -3,8 +3,8 @@ CELERY_BROKER_URL = 'redis://localhost:6379/1' MY_CELERY_RESULT_BACKEND = 'redis://localhost:6379/1' CELERY_CONF_WORKER_SEND_TASK_EVENTS = True CELERY_CONF_TASK_SEND_SENT_EVENT = True -SQLALCHEMY_POSTGRES_USER = 'covid19datatest' -SQLALCHEMY_POSTGRES_PW = 'covid19datatestpwd' +SQLALCHEMY_POSTGRES_USER = 'covid19data' +SQLALCHEMY_POSTGRES_PW = 'covid19datapwd' SQLALCHEMY_POSTGRES_URL = 'localhost' SQLALCHEMY_POSTGRES_DB = 'covid19datatest' SQLALCHEMY_ITEMS_PER_PAGE = 10 diff --git a/tests/conftest.py b/tests/conftest.py index 10b926b7..d76e140a 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,9 +1,7 @@ import os import tempfile import pytest -from flask import Flask -from database import run_run_with_debug, port, create_app, create_celery, create_db -import covid19.blueprints.application.application_views +from database import create_app, create_db @pytest.fixture diff --git a/tests/test_flaskr.py b/tests/test_flaskr.py index adef003d..ad009f1f 100644 --- a/tests/test_flaskr.py +++ b/tests/test_flaskr.py @@ -1,5 +1,5 @@ from unittest import TestCase -from conftest import app, db +from conftest import app from src.covid19.blueprints.owid.owid_model_import import OwidImport -- GitLab