mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Start to build a page to performance platform page.
This commit is contained in:
committed by
Chris Hill-Scott
parent
3d590a71e4
commit
042527e74c
@@ -0,0 +1,12 @@
|
||||
from app.notify_client.performance_platform_api_client import (
|
||||
PerformancePlatformAPIClient,
|
||||
)
|
||||
|
||||
|
||||
def test_get_aggregate_platform_stats(mocker):
|
||||
client = PerformancePlatformAPIClient()
|
||||
mock = mocker.patch.object(client, 'get')
|
||||
params_dict = {'start_date': '2021-03-01', 'end_date': '2021-03-31'}
|
||||
|
||||
client.get_performance_platform_stats(params_dict=params_dict)
|
||||
mock.assert_called_once_with('/performance-platform', params=params_dict)
|
||||
Reference in New Issue
Block a user