add a test in service rest

This commit is contained in:
Kenneth Kehl
2024-10-03 09:35:05 -07:00
parent 38583c28ea
commit 55966267c2

View File

@@ -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