Commit f6f63d1d authored by Romain Courteaud's avatar Romain Courteaud

slapos_crm: fix slapos_crm_create_regularisation_request test

parent 0b75d235
...@@ -72,7 +72,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin): ...@@ -72,7 +72,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin):
return current_invoice return current_invoice
def test_alarm_expected_person(self): def test_createRegularisationRequest_expected_person(self):
new_id = self.generateNewId() new_id = self.generateNewId()
person = self.portal.person_module.newContent( person = self.portal.person_module.newContent(
portal_type='Person', portal_type='Person',
...@@ -87,7 +87,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin): ...@@ -87,7 +87,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin):
slapos_crm_create_regularisation_request slapos_crm_create_regularisation_request
self._test_alarm(alarm, person, "Person_checkToCreateRegularisationRequest") self._test_alarm(alarm, person, "Person_checkToCreateRegularisationRequest")
def test_alarm_not_validated(self): def test_createRegularisationRequest_not_validated(self):
new_id = self.generateNewId() new_id = self.generateNewId()
person = self.portal.person_module.newContent( person = self.portal.person_module.newContent(
portal_type='Person', portal_type='Person',
...@@ -102,7 +102,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin): ...@@ -102,7 +102,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin):
slapos_crm_create_regularisation_request slapos_crm_create_regularisation_request
self._test_alarm_not_visited(alarm, person, "Person_checkToCreateRegularisationRequest") self._test_alarm_not_visited(alarm, person, "Person_checkToCreateRegularisationRequest")
def test_alarm_payment_stopped(self): def test_createRegularisationRequest_payment_stopped(self):
new_id = self.generateNewId() new_id = self.generateNewId()
person = self.portal.person_module.newContent( person = self.portal.person_module.newContent(
portal_type='Person', portal_type='Person',
...@@ -133,7 +133,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin): ...@@ -133,7 +133,7 @@ class TestSlapOSCRMCreateRegularisationRequest(SlapOSTestCaseMixin):
slapos_crm_create_regularisation_request slapos_crm_create_regularisation_request
self._test_alarm_not_visited(alarm, person, "Person_checkToCreateRegularisationRequest") self._test_alarm_not_visited(alarm, person, "Person_checkToCreateRegularisationRequest")
def test_alarm_payment_started(self): def test_createRegularisationRequest_payment_started(self):
new_id = self.generateNewId() new_id = self.generateNewId()
person = self.portal.person_module.newContent( person = self.portal.person_module.newContent(
portal_type='Person', portal_type='Person',
......
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