From 40702d322678f8df8bddd9ddad4ba52afcbecae6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com> Date: Thu, 2 Feb 2012 15:52:34 +0100 Subject: [PATCH] Rename methods a bit. LockPerson and UnlockPerson name does not explains that alarm is triggered. --- .../testVifibSlapComputerPartitionLock.py | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py b/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py index 37c4ac154e..cc9cc5c9f3 100644 --- a/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py +++ b/master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py @@ -138,13 +138,13 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): sequence_list.addSequenceString(sequence_string) sequence_list.play(self) - def stepUnlockPerson(self, sequence, **kw): + def stepTriggerUnlockPersonAlarm(self, sequence, **kw): """ Trigger global person unlocking """ self.portal.portal_alarms.vifib_unlock_person.activeSense() - def stepLockPerson(self, sequence, **kw): + def stepTriggerLockPersonAlarm(self, sequence, **kw): """ Trigger global person locking """ @@ -156,7 +156,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): sequence_list = SequenceList() sequence_string = self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -178,7 +178,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): sequence_list = SequenceList() sequence_string = self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -188,7 +188,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Logout \ \ LoginERP5TypeTestCase \ - LockPerson \ + TriggerLockPersonAlarm \ Tic \ Logout \ \ @@ -227,7 +227,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): sequence_list = SequenceList() sequence_string = self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -241,7 +241,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Tic \ Logout \ \ - LockPerson \ + TriggerLockPersonAlarm \ Tic \ Logout \ \ @@ -280,7 +280,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): sequence_list = SequenceList() sequence_string = self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -294,7 +294,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Tic \ Logout \ \ - LockPerson \ + TriggerLockPersonAlarm \ Tic \ Logout \ \ @@ -342,7 +342,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): sequence_list = SequenceList() sequence_string = self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -356,7 +356,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Tic \ Logout \ \ - LockPerson \ + TriggerLockPersonAlarm \ Tic \ Logout \ \ @@ -386,7 +386,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Logout \ \ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -416,7 +416,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Logout \ \ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -446,7 +446,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): Logout \ \ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ \ @@ -470,7 +470,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): self.prepare_installed_software_release_sequence_string + \ self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ ' + \ @@ -479,7 +479,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): CreateHighBalanceNotPaidPayment \ Tic \ \ - LockPerson \ + TriggerLockPersonAlarm \ Tic \ CheckInstanceLocked \ \ @@ -517,7 +517,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): self.prepare_installed_software_release_sequence_string + \ self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ ' + \ @@ -528,7 +528,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): self.prepare_installed_computer_partition_sequence_string + \ self.register_new_user_sequence_string + '\ LoginERP5TypeTestCase \ - UnlockPerson \ + TriggerUnlockPersonAlarm \ Tic \ Logout \ ' + \ @@ -540,7 +540,7 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin): CreateHighBalanceNotPaidPayment \ Tic \ \ - LockPerson \ + TriggerLockPersonAlarm \ Tic \ Logout \ ' -- 2.30.9