Commit a7ce9c8f authored by Łukasz Nowak's avatar Łukasz Nowak

Revert "Revert "Disable tests as balance check is inactive.""

This reverts commit a9f93ac6.
parent d94f85f9
...@@ -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
""" """
......
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