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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Courteaud
slapos.core
Commits
1e3c8b14
Commit
1e3c8b14
authored
Mar 06, 2012
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mark expected failure tests related to production decisions.
parent
755e27b3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
...ct/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
+3
-0
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
+3
-0
master/product/Vifib/tests/testVifibWebSite.py
master/product/Vifib/tests/testVifibWebSite.py
+2
-0
No files found.
master/product/Vifib/tests/testVifibInstanceHostingRelatedDocument.py
View file @
1e3c8b14
...
@@ -4,6 +4,7 @@ from testVifibSlapWebService import TestVifibSlapWebServiceMixin
...
@@ -4,6 +4,7 @@ from testVifibSlapWebService import TestVifibSlapWebServiceMixin
from
Products.ERP5Type.DateUtils
import
getClosestDate
from
Products.ERP5Type.DateUtils
import
getClosestDate
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
testVifibOpenOrderSimulation
import
generateTimeFrameList
from
testVifibOpenOrderSimulation
import
generateTimeFrameList
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
class
TestVifibInstanceHostingRelatedDocument
(
TestVifibSlapWebServiceMixin
):
class
TestVifibInstanceHostingRelatedDocument
(
TestVifibSlapWebServiceMixin
):
...
@@ -550,6 +551,8 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
...
@@ -550,6 +551,8 @@ class TestVifibInstanceHostingRelatedDocument(TestVifibSlapWebServiceMixin):
uid
=
sequence
[
'invoice_uid'
])
uid
=
sequence
[
'invoice_uid'
])
invoice
.
setStartDate
(
getClosestDate
(
target_date
=
DateTime
())
-
1
)
invoice
.
setStartDate
(
getClosestDate
(
target_date
=
DateTime
())
-
1
)
@
expectedFailure
# Subscription deliveries are not build for now.
def
test_OpenOrder_sale_packing_list
(
self
):
def
test_OpenOrder_sale_packing_list
(
self
):
"""
"""
Check that sale_packing_list is generated properly from simulation
Check that sale_packing_list is generated properly from simulation
...
...
master/product/Vifib/tests/testVifibOpenOrderSimulation.py
View file @
1e3c8b14
...
@@ -2,6 +2,7 @@ import unittest
...
@@ -2,6 +2,7 @@ import unittest
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.tests.Sequence
import
SequenceList
from
Products.ERP5Type.DateUtils
import
getClosestDate
,
addToDate
from
Products.ERP5Type.DateUtils
import
getClosestDate
,
addToDate
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
testVifibSlapWebService
import
TestVifibSlapWebServiceMixin
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
DateTime.DateTime
import
DateTime
from
DateTime.DateTime
import
DateTime
...
@@ -186,6 +187,8 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
...
@@ -186,6 +187,8 @@ class TestVifibOpenOrderSimulation(TestVifibSlapWebServiceMixin):
self
.
assertEquals
(
3
,
self
.
assertEquals
(
3
,
len
(
simulation_movement_list
))
len
(
simulation_movement_list
))
@
expectedFailure
# Subscription deliveries are not build for now.
def
test_OpenOrder_request_changeSoftwareType
(
self
):
def
test_OpenOrder_request_changeSoftwareType
(
self
):
"""
"""
Check that requesting the same instance with a different software type
Check that requesting the same instance with a different software type
...
...
master/product/Vifib/tests/testVifibWebSite.py
View file @
1e3c8b14
...
@@ -28,6 +28,7 @@
...
@@ -28,6 +28,7 @@
##############################################################################
##############################################################################
import
unittest
import
unittest
from
VifibMixin
import
testVifibMixin
from
VifibMixin
import
testVifibMixin
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
HTTP_OK
=
200
HTTP_OK
=
200
MOVED_TEMPORARILY
=
302
MOVED_TEMPORARILY
=
302
...
@@ -70,6 +71,7 @@ class TestVifibWebSite(testVifibMixin):
...
@@ -70,6 +71,7 @@ class TestVifibWebSite(testVifibMixin):
response
.
getHeader
(
'content-type'
))
response
.
getHeader
(
'content-type'
))
self
.
assertTrue
(
"Website is under construction..."
in
response
.
getBody
())
self
.
assertTrue
(
"Website is under construction..."
in
response
.
getBody
())
@
expectedFailure
def
test_04_checkHostingAccess
(
self
):
def
test_04_checkHostingAccess
(
self
):
"""
"""
Test Hosting Access
Test Hosting Access
...
...
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