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
16
Merge Requests
16
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
nexedi
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
Show 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):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
def
step
UnlockPerson
(
self
,
sequence
,
**
kw
):
def
step
TriggerUnlockPersonAlarm
(
self
,
sequence
,
**
kw
):
"""
Trigger global person unlocking
"""
self
.
portal
.
portal_alarms
.
vifib_unlock_person
.
activeSense
()
def
step
LockPerson
(
self
,
sequence
,
**
kw
):
def
step
TriggerLockPersonAlarm
(
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
\
'
...
...
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