Commit 21c57f66 authored by Sebastien Robin's avatar Sebastien Robin

testCalendar: skip some tests that we do not want to maintain for now

parent 2ee027e8
...@@ -31,6 +31,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5ReportTestCase ...@@ -31,6 +31,7 @@ from Products.ERP5Type.tests.ERP5TypeTestCase import ERP5ReportTestCase
from AccessControl.SecurityManagement import newSecurityManager from AccessControl.SecurityManagement import newSecurityManager
from Products.ERP5Type.tests.Sequence import SequenceList from Products.ERP5Type.tests.Sequence import SequenceList
from DateTime import DateTime from DateTime import DateTime
from Products.ERP5Type.tests.backportUnittest import skip
class TestCalendar(ERP5ReportTestCase): class TestCalendar(ERP5ReportTestCase):
...@@ -875,6 +876,7 @@ class TestCalendar(ERP5ReportTestCase): ...@@ -875,6 +876,7 @@ class TestCalendar(ERP5ReportTestCase):
self.assertEqual(0, len(available_time_movement_list)) self.assertEqual(0, len(available_time_movement_list))
@skip("Need to check if we want later to support this again. Drop support for now")
def test_LeaveRequestWithSameDateAsGroupCalendar(self): def test_LeaveRequestWithSameDateAsGroupCalendar(self):
group_calendar = self.portal.group_calendar_module.newContent( group_calendar = self.portal.group_calendar_module.newContent(
portal_type='Group Calendar') portal_type='Group Calendar')
...@@ -952,6 +954,7 @@ class TestCalendar(ERP5ReportTestCase): ...@@ -952,6 +954,7 @@ class TestCalendar(ERP5ReportTestCase):
self.assertEqual(0, len(available_time_movement_list)) self.assertEqual(0, len(available_time_movement_list))
@skip("Need to check if we want later to support this again. Drop support for now")
def test_LeaveRequestWithSameDateAsRepeatedGroupCalendar(self): def test_LeaveRequestWithSameDateAsRepeatedGroupCalendar(self):
group_calendar = self.portal.group_calendar_module.newContent( group_calendar = self.portal.group_calendar_module.newContent(
portal_type='Group Calendar') portal_type='Group Calendar')
...@@ -1100,6 +1103,7 @@ class TestCalendar(ERP5ReportTestCase): ...@@ -1100,6 +1103,7 @@ class TestCalendar(ERP5ReportTestCase):
[(m.getStartDate(), m.getStopDate()) for m in [(m.getStartDate(), m.getStopDate()) for m in
available_time_movement_list]) available_time_movement_list])
@skip("Need to check if we want later to support this again. Drop support for now")
def test_LeaveRequestOverlappingBeforeGroupCalendar(self): def test_LeaveRequestOverlappingBeforeGroupCalendar(self):
group_calendar = self.portal.group_calendar_module.newContent( group_calendar = self.portal.group_calendar_module.newContent(
portal_type='Group Calendar') portal_type='Group Calendar')
...@@ -1152,6 +1156,7 @@ class TestCalendar(ERP5ReportTestCase): ...@@ -1152,6 +1156,7 @@ class TestCalendar(ERP5ReportTestCase):
[(m.getStartDate(), m.getStopDate()) for m in [(m.getStartDate(), m.getStopDate()) for m in
available_time_movement_list]) available_time_movement_list])
@skip("Need to check if we want later to support this again. Drop support for now")
def test_LeaveRequestOverlappingAfterGroupCalendar(self): def test_LeaveRequestOverlappingAfterGroupCalendar(self):
group_calendar = self.portal.group_calendar_module.newContent( group_calendar = self.portal.group_calendar_module.newContent(
portal_type='Group Calendar') portal_type='Group Calendar')
...@@ -1324,6 +1329,7 @@ class TestCalendar(ERP5ReportTestCase): ...@@ -1324,6 +1329,7 @@ class TestCalendar(ERP5ReportTestCase):
[(m.getStartDate(), m.getStopDate()) for m in [(m.getStartDate(), m.getStopDate()) for m in
available_time_movement_list]) available_time_movement_list])
@skip("Need to check if we want later to support this again. Drop support for now")
def test_2OverlappedLeaveRequestOverlappingAfterGroupCalendar(self): def test_2OverlappedLeaveRequestOverlappingAfterGroupCalendar(self):
group_calendar = self.portal.group_calendar_module.newContent( group_calendar = self.portal.group_calendar_module.newContent(
portal_type='Group Calendar') portal_type='Group Calendar')
......
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