more fixes

This commit is contained in:
Kenneth Kehl
2024-05-17 10:25:09 -07:00
parent 7302e4c811
commit 1b172553f5
28 changed files with 127 additions and 107 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ class FakeService:
id = "1234"
@pytest.fixture
@pytest.fixture()
def app():
flask_app = Flask(__name__)
ctx = flask_app.app_context()
@@ -20,7 +20,7 @@ def app():
ctx.pop()
@pytest.fixture
@pytest.fixture()
def celery_app(mocker):
app = Flask(__name__)
app.config["CELERY"] = {"broker_url": "foo"}
@@ -39,7 +39,7 @@ def sample_service():
return FakeService()
@pytest.fixture
@pytest.fixture()
def rmock():
with requests_mock.mock() as rmock:
yield rmock