Loading tests/unit/test_eam_endpoints.py +4 −5 Original line number Diff line number Diff line Loading @@ -267,11 +267,10 @@ class TestGetAppDeployments: def test_passes_query_filters(self, client: TestClient, mock_eam_service: AsyncMock) -> None: mock_eam_service.get_app_deployments.return_value = [] client.get(f"{EAM_BASE}/deployments?appId={_APP_ID}&appDeploymentId={_DEPLOYMENT_ID}") mock_eam_service.get_app_deployments.assert_called_once_with( app_id=_APP_ID, app_deployment_id=_DEPLOYMENT_ID, x_correlator=None, ) kwargs = mock_eam_service.get_app_deployments.call_args.kwargs assert kwargs["app_id"] == _APP_ID assert kwargs["app_deployment_id"] == _DEPLOYMENT_ID assert kwargs["x_correlator"] class TestDeleteAppDeployment: Loading Loading
tests/unit/test_eam_endpoints.py +4 −5 Original line number Diff line number Diff line Loading @@ -267,11 +267,10 @@ class TestGetAppDeployments: def test_passes_query_filters(self, client: TestClient, mock_eam_service: AsyncMock) -> None: mock_eam_service.get_app_deployments.return_value = [] client.get(f"{EAM_BASE}/deployments?appId={_APP_ID}&appDeploymentId={_DEPLOYMENT_ID}") mock_eam_service.get_app_deployments.assert_called_once_with( app_id=_APP_ID, app_deployment_id=_DEPLOYMENT_ID, x_correlator=None, ) kwargs = mock_eam_service.get_app_deployments.call_args.kwargs assert kwargs["app_id"] == _APP_ID assert kwargs["app_deployment_id"] == _DEPLOYMENT_ID assert kwargs["x_correlator"] class TestDeleteAppDeployment: Loading