mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Updated tests to match the formatting work done in the admin repo
Signed-off-by: Carlo Costino <carlo.costino@gsa.gov>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user