Commit f4b80931 authored by Łukasz Nowak's avatar Łukasz Nowak

Follow builder change.

parent 7385e47a
...@@ -8,10 +8,8 @@ from DateTime.DateTime import DateTime ...@@ -8,10 +8,8 @@ from DateTime.DateTime import DateTime
class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
def stepBuildOneMoreSalePackingList(self, sequence, **kw): def stepBuildOneMoreSalePackingList(self, sequence, **kw):
sequence.edit(
number_of_sale_packing_list=sequence.get(
'number_of_sale_packing_list', 0) + 1)
build_before = sequence.get('build_before') build_before = sequence.get('build_before')
self.portal.portal_alarms.vifib_trigger_build.activeSense()
if build_before is None: if build_before is None:
build_before = getClosestDate( build_before = getClosestDate(
target_date=DateTime(), precision='month', before=0) target_date=DateTime(), precision='month', before=0)
...@@ -22,16 +20,14 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): ...@@ -22,16 +20,14 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
params={'build_before':build_before}) params={'build_before':build_before})
sequence.edit(build_before=build_before) sequence.edit(build_before=build_before)
def stepBuildOneMoreInvoice(self, sequence, **kw): def stepTriggerNextBuild(self, sequence, **kw):
sequence.edit(number_of_invoice=sequence.get('number_of_invoice', 0) + 1) sequence.edit(
self.portal.portal_alarms.build_invoice_path.activeSense() number_of_sale_packing_list=sequence.get(
'number_of_sale_packing_list', 0) + 1,
def stepBuildOneMoreInvoiceTransaction(self, sequence, **kw): number_of_invoice=sequence.get('number_of_invoice', 0) + 1,
self.portal.portal_alarms.build_account_path.activeSense() number_of_payment=sequence.get('number_of_payment', 0) + 1
)
def stepBuildOneMorePayment(self, sequence, **kw): self.portal.portal_alarms.vifib_trigger_build.activeSense()
sequence.edit(number_of_payment=sequence.get('number_of_payment', 0) + 1)
self.portal.portal_alarms.build_pay_path.activeSense()
def stepCheckOneMoreDocumentList(self, sequence, **kw): def stepCheckOneMoreDocumentList(self, sequence, **kw):
hosting_subscription = self.portal.portal_catalog\ hosting_subscription = self.portal.portal_catalog\
...@@ -130,13 +126,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin): ...@@ -130,13 +126,7 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
""" """
check_one_month = """ check_one_month = """
LoginDefaultUser LoginDefaultUser
BuildOneMoreSalePackingList TriggerNextBuild
Tic
BuildOneMoreInvoice
Tic
BuildOneMoreInvoiceTransaction
Tic
BuildOneMorePayment
Tic Tic
Logout Logout
......
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