Commit 40702d32 authored by Łukasz Nowak's avatar Łukasz Nowak

Rename methods a bit.

LockPerson and UnlockPerson name does not explains that alarm is triggered.
parent 491863f4
...@@ -138,13 +138,13 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -138,13 +138,13 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list.addSequenceString(sequence_string) sequence_list.addSequenceString(sequence_string)
sequence_list.play(self) sequence_list.play(self)
def stepUnlockPerson(self, sequence, **kw): def stepTriggerUnlockPersonAlarm(self, sequence, **kw):
""" """
Trigger global person unlocking Trigger global person unlocking
""" """
self.portal.portal_alarms.vifib_unlock_person.activeSense() self.portal.portal_alarms.vifib_unlock_person.activeSense()
def stepLockPerson(self, sequence, **kw): def stepTriggerLockPersonAlarm(self, sequence, **kw):
""" """
Trigger global person locking Trigger global person locking
""" """
...@@ -156,7 +156,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -156,7 +156,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.register_new_user_sequence_string + '\ sequence_string = self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -178,7 +178,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -178,7 +178,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.register_new_user_sequence_string + '\ sequence_string = self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -188,7 +188,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -188,7 +188,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Logout \ Logout \
\ \
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
LockPerson \ TriggerLockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -227,7 +227,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -227,7 +227,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.register_new_user_sequence_string + '\ sequence_string = self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Tic \ Tic \
Logout \ Logout \
\ \
LockPerson \ TriggerLockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -280,7 +280,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -280,7 +280,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.register_new_user_sequence_string + '\ sequence_string = self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -294,7 +294,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -294,7 +294,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Tic \ Tic \
Logout \ Logout \
\ \
LockPerson \ TriggerLockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -342,7 +342,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -342,7 +342,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list = SequenceList() sequence_list = SequenceList()
sequence_string = self.register_new_user_sequence_string + '\ sequence_string = self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -356,7 +356,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -356,7 +356,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Tic \ Tic \
Logout \ Logout \
\ \
LockPerson \ TriggerLockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -386,7 +386,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -386,7 +386,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Logout \ Logout \
\ \
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -416,7 +416,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -416,7 +416,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Logout \ Logout \
\ \
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -446,7 +446,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -446,7 +446,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
Logout \ Logout \
\ \
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
\ \
...@@ -470,7 +470,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -470,7 +470,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
self.prepare_installed_software_release_sequence_string + \ self.prepare_installed_software_release_sequence_string + \
self.register_new_user_sequence_string + '\ self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
' + \ ' + \
...@@ -479,7 +479,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -479,7 +479,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
CreateHighBalanceNotPaidPayment \ CreateHighBalanceNotPaidPayment \
Tic \ Tic \
\ \
LockPerson \ TriggerLockPersonAlarm \
Tic \ Tic \
CheckInstanceLocked \ CheckInstanceLocked \
\ \
...@@ -517,7 +517,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -517,7 +517,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
self.prepare_installed_software_release_sequence_string + \ self.prepare_installed_software_release_sequence_string + \
self.register_new_user_sequence_string + '\ self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
' + \ ' + \
...@@ -528,7 +528,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -528,7 +528,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
self.prepare_installed_computer_partition_sequence_string + \ self.prepare_installed_computer_partition_sequence_string + \
self.register_new_user_sequence_string + '\ self.register_new_user_sequence_string + '\
LoginERP5TypeTestCase \ LoginERP5TypeTestCase \
UnlockPerson \ TriggerUnlockPersonAlarm \
Tic \ Tic \
Logout \ Logout \
' + \ ' + \
...@@ -540,7 +540,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): ...@@ -540,7 +540,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
CreateHighBalanceNotPaidPayment \ CreateHighBalanceNotPaidPayment \
Tic \ Tic \
\ \
LockPerson \ TriggerLockPersonAlarm \
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