Rename to performance-dashboard

This commit is contained in:
Rebecca Law
2021-03-10 11:01:15 +00:00
committed by Chris Hill-Scott
parent 042527e74c
commit 3ca2840652
5 changed files with 24 additions and 28 deletions

View File

@@ -1,12 +1,12 @@
from app.notify_client.performance_platform_api_client import (
PerformancePlatformAPIClient,
from app.notify_client.performance_dashboard_api_client import (
PerformanceDashboardAPIClient,
)
def test_get_aggregate_platform_stats(mocker):
client = PerformancePlatformAPIClient()
client = PerformanceDashboardAPIClient()
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)
client.get_performance_dashboard_stats(params_dict=params_dict)
mock.assert_called_once_with('/performance-platform', params=params_dict)