From 5223fda8f8d6eb8fb86f307781055f671a0e72a3 Mon Sep 17 00:00:00 2001 From: Philip Kalinsky Date: Tue, 28 Jan 2020 12:02:38 -0500 Subject: [PATCH] product purchase mock function correct args --- atst/domain/csp/cloud/mock_cloud_provider.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/atst/domain/csp/cloud/mock_cloud_provider.py b/atst/domain/csp/cloud/mock_cloud_provider.py index bd29f796..d69b7ff0 100644 --- a/atst/domain/csp/cloud/mock_cloud_provider.py +++ b/atst/domain/csp/cloud/mock_cloud_provider.py @@ -288,15 +288,7 @@ class MockCloudProvider(CloudProviderInterface): self._maybe_raise(self.UNAUTHORIZED_RATE, self.AUTHORIZATION_EXCEPTION) return ProductPurchaseCSPResult( - **{ - "name": "TO1:CLIN001", - "properties": { - "amount": 1000.0, - "endDate": "2020-03-01T00:00:00+00:00", - "startDate": "2020-01-01T00:00:00+00:00", - }, - "type": "Microsoft.Billing/billingAccounts/billingProfiles/billingInstructions", - } + **{"Location": "https://somelocation", "Retry-After": "10"} ) def create_product_purchase_verification(