Commit 4724136b authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_subscription_request: Fixup Test

parent 93ff7596
...@@ -810,7 +810,9 @@ return dict(vads_url_already_registered="%s/already_registered" % (payment_trans ...@@ -810,7 +810,9 @@ return dict(vads_url_already_registered="%s/already_registered" % (payment_trans
self.checkSecondMonthAggregatedSalePackingList(subscription_request, sale_packing_list_list[0]) self.checkSecondMonthAggregatedSalePackingList(subscription_request, sale_packing_list_list[0])
expected_sale_packing_list_amount = len(subscription_request_list) * 2 expected_sale_packing_list_amount = (len(subscription_request_list) * 2)+\
self.non_subscription_related_instance_amount
self.assertEqual(expected_sale_packing_list_amount, self.assertEqual(expected_sale_packing_list_amount,
len(self.getSubscriptionSalePackingList(subscription_request))) len(self.getSubscriptionSalePackingList(subscription_request)))
......
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