mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 14:31:57 -05:00
add a test in service rest
This commit is contained in:
@@ -1975,9 +1975,12 @@ def test_get_monthly_notification_stats_by_user(
|
||||
|
||||
response = client.get(
|
||||
path=(f"/service/{sample_service.id}/notifications/{sample_user.id}/monthly"),
|
||||
year=2024,
|
||||
headers=[auth_header],
|
||||
)
|
||||
|
||||
resp = json.loads(response.get_data(as_text=True))
|
||||
print(f"RESP is {resp}")
|
||||
# TODO This test could be a little more complete
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
Reference in New Issue
Block a user