Commit 1c15f84a authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: (Test) Verbose why the subscription request isn't...

slapos_subscription_request: (Test) Verbose why the subscription request isn't ordered by the script.
parent 669b0d61
Pipeline #12808 failed with stage
in 0 seconds
...@@ -265,7 +265,10 @@ class TestSlapOSSubscriptionScenarioMixin(DefaultScenarioMixin): ...@@ -265,7 +265,10 @@ class TestSlapOSSubscriptionScenarioMixin(DefaultScenarioMixin):
payment = subscription_request.SubscriptionRequest_verifyPaymentBalanceIsReady() payment = subscription_request.SubscriptionRequest_verifyPaymentBalanceIsReady()
self.assertNotEqual(payment, None) self.assertNotEqual(payment, None)
self.assertEqual(payment.getSimulationState(), 'started') self.assertEqual(payment.getSimulationState(), 'started')
self.assertEqual(subscription_request.getSimulationState(), "confirmed") self.assertEqual(subscription_request.getSimulationState(), "confirmed",
"%s != confirmed (%s)" % (subscription_request.getSimulationState(),
subscription_request.SubscriptionRequest_processOrdered()))
self.checkEmailPaymentNotification(subscription_request, notification_message) self.checkEmailPaymentNotification(subscription_request, notification_message)
def checkStartedSubscriptionRequest(self, subscription_request, email, def checkStartedSubscriptionRequest(self, subscription_request, email,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment