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
19
Merge Requests
19
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
a7ce9c8f
Commit
a7ce9c8f
authored
Mar 19, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Revert "Disable tests as balance check is inactive.""
This reverts commit
a9f93ac6
.
parent
d94f85f9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
...product/Vifib/tests/testVifibSlapComputerPartitionLock.py
+5
-0
No files found.
master/product/Vifib/tests/testVifibSlapComputerPartitionLock.py
View file @
a7ce9c8f
...
@@ -2,6 +2,7 @@ from Products.ERP5Type.tests.Sequence import SequenceList
...
@@ -2,6 +2,7 @@ from Products.ERP5Type.tests.Sequence import SequenceList
import
unittest
import
unittest
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
zExceptions
import
Unauthorized
from
zExceptions
import
Unauthorized
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
class
TestVifibSlapComputerPartitionLock
(
TestVifibSlapWebServiceMixin
):
class
TestVifibSlapComputerPartitionLock
(
TestVifibSlapWebServiceMixin
):
...
@@ -47,6 +48,8 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
...
@@ -47,6 +48,8 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
portal_type
=
self
.
sale_packing_list_line_portal_type
)]
portal_type
=
self
.
sale_packing_list_line_portal_type
)]
self
.
assertEqual
(
0
,
len
(
delivery_line_list
))
self
.
assertEqual
(
0
,
len
(
delivery_line_list
))
@
expectedFailure
# Balance check is disabled so test is irrelevant
def
test_negative_person_balance_request
(
self
):
def
test_negative_person_balance_request
(
self
):
"""Locked person can not request
"""Locked person can not request
"""
"""
...
@@ -74,6 +77,8 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
...
@@ -74,6 +77,8 @@ class TestVifibSlapComputerPartitionLock(TestVifibSlapWebServiceMixin):
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
addSequenceString
(
sequence_string
)
sequence_list
.
play
(
self
)
sequence_list
.
play
(
self
)
@
expectedFailure
# Balance check is disabled so test is irrelevant
def
test_negative_person_balance_request_slave
(
self
):
def
test_negative_person_balance_request_slave
(
self
):
"""Locked person can not request
"""Locked person can not request
"""
"""
...
...
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