Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Rafael Monnerat
slapos.core
Commits
40702d32
Commit
40702d32
authored
Feb 02, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename methods a bit.
LockPerson and UnlockPerson name does not explains that alarm is triggered.
parent
491863f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
19 deletions
+19
-19
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
...product/Vifib/tests/testVifibSlapComputerPartitionLock.py
+19
-19
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
View file @
40702d32
...
@@ -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
step
UnlockPerson
(
self
,
sequence
,
**
kw
):
def
step
TriggerUnlockPersonAlarm
(
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
step
LockPerson
(
self
,
sequence
,
**
kw
):
def
step
TriggerLockPersonAlarm
(
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
\
'
'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment