Commit 8b0422dd authored by Łukasz Nowak's avatar Łukasz Nowak

Simplify test code.

parent 1b69a7e6
...@@ -19,7 +19,7 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin): ...@@ -19,7 +19,7 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
# as there might be more because of running alarms # as there might be more because of running alarms
event = self.portal.portal_catalog( event = self.portal.portal_catalog(
portal_type='Payzen Event', portal_type='Payzen Event',
title='User navigation script for %s' % sequence['payment'].getTitle(), default_destination_uid=sequence['payment'].getUid(),
limit=2) limit=2)
self.assertEqual(1, len(event)) self.assertEqual(1, len(event))
event = event[0] event = event[0]
...@@ -120,11 +120,10 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin): ...@@ -120,11 +120,10 @@ class TestVifibPayZen(TestVifibSlapWebServiceMixin):
sequence_string = self.register_new_user_sequence_string + '\ sequence_string = self.register_new_user_sequence_string + '\
LoginWebUser \ LoginWebUser \
CallStartPaymentOnPlannedPayment \ CallStartPaymentOnPlannedPayment \
Tic \ CleanTic \
Logout \ Logout \
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
CheckPaymentPage \ CheckPaymentPage \
Tic \
CheckRelatedSystemEvent \ CheckRelatedSystemEvent \
' '
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
......
452 453
\ No newline at end of file \ No newline at end of file
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