mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
formatting
This commit is contained in:
@@ -13,6 +13,7 @@ from app.notify_client.models import (
|
|||||||
User,
|
User,
|
||||||
InvitedUser
|
InvitedUser
|
||||||
)
|
)
|
||||||
|
|
||||||
from . import (
|
from . import (
|
||||||
service_json,
|
service_json,
|
||||||
TestClient,
|
TestClient,
|
||||||
@@ -1729,8 +1730,8 @@ def mock_get_notification(
|
|||||||
template_type=None,
|
template_type=None,
|
||||||
):
|
):
|
||||||
def _get_notification(
|
def _get_notification(
|
||||||
service_id,
|
service_id,
|
||||||
notification_id,
|
notification_id,
|
||||||
):
|
):
|
||||||
noti = notification_json(
|
noti = notification_json(
|
||||||
service_id,
|
service_id,
|
||||||
@@ -1830,11 +1831,11 @@ def client_request(logged_in_client):
|
|||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get(
|
def get(
|
||||||
endpoint,
|
endpoint,
|
||||||
_expected_status=200,
|
_expected_status=200,
|
||||||
_follow_redirects=False,
|
_follow_redirects=False,
|
||||||
_test_page_title=True,
|
_test_page_title=True,
|
||||||
**endpoint_kwargs
|
**endpoint_kwargs
|
||||||
):
|
):
|
||||||
resp = logged_in_client.get(
|
resp = logged_in_client.get(
|
||||||
url_for(endpoint, **(endpoint_kwargs or {})),
|
url_for(endpoint, **(endpoint_kwargs or {})),
|
||||||
|
|||||||
Reference in New Issue
Block a user