Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Rafael Monnerat
erp5
Commits
21c57f66
Commit
21c57f66
authored
Apr 15, 2014
by
Sebastien Robin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
testCalendar: skip some tests that we do not want to maintain for now
parent
2ee027e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
product/ERP5/tests/testCalendar.py
product/ERP5/tests/testCalendar.py
+6
-0
No files found.
product/ERP5/tests/testCalendar.py
View file @
21c57f66
...
@@ -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'
)
...
...
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