Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
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
Hamza
erp5-Boxiang
Commits
f44ef093
Commit
f44ef093
authored
Aug 21, 2012
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip tests that call WebSite_createWebSiteAccount.
parent
45311aff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
product/ERP5/tests/testERP5Commerce.py
product/ERP5/tests/testERP5Commerce.py
+2
-0
product/ERP5/tests/testERP5Web.py
product/ERP5/tests/testERP5Web.py
+2
-1
No files found.
product/ERP5/tests/testERP5Commerce.py
View file @
f44ef093
...
@@ -33,6 +33,7 @@ import urllib
...
@@ -33,6 +33,7 @@ import urllib
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.utils
import
FileUpload
from
Products.ERP5Type.tests.backportUnittest
import
skip
SESSION_ID
=
"12345678"
SESSION_ID
=
"12345678"
LANGUAGE_LIST
=
(
'en'
,
'fr'
,
'de'
,
'bg'
,)
LANGUAGE_LIST
=
(
'en'
,
'fr'
,
'de'
,
'bg'
,)
...
@@ -825,6 +826,7 @@ class TestCommerce(ERP5TypeTestCase):
...
@@ -825,6 +826,7 @@ class TestCommerce(ERP5TypeTestCase):
shoppping_cart_item_list
=
self
.
website
.
SaleOrder_getShoppingCartItemList
()
shoppping_cart_item_list
=
self
.
website
.
SaleOrder_getShoppingCartItemList
()
self
.
assertEquals
(
1
,
len
(
shoppping_cart_item_list
))
self
.
assertEquals
(
1
,
len
(
shoppping_cart_item_list
))
@
skip
(
'WebSite_createWebSiteAccount is disabled by default.'
)
def
test_22_createShoppingCartWithAnonymousAndLogin
(
self
):
def
test_22_createShoppingCartWithAnonymousAndLogin
(
self
):
"""
"""
Test adding an arbitrary resources to shopping cart with Anonymous user
Test adding an arbitrary resources to shopping cart with Anonymous user
...
...
product/ERP5/tests/testERP5Web.py
View file @
f44ef093
...
@@ -36,7 +36,7 @@ from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
...
@@ -36,7 +36,7 @@ from Products.ERP5Type.TransactionalVariable import getTransactionalVariable
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.ERP5TypeTestCase
import
ERP5TypeTestCase
from
Products.ERP5Type.tests.utils
import
DummyLocalizer
from
Products.ERP5Type.tests.utils
import
DummyLocalizer
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.ERP5Type.tests.utils
import
createZODBPythonScript
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
from
Products.ERP5Type.tests.backportUnittest
import
expectedFailure
,
skip
LANGUAGE_LIST
=
(
'en'
,
'fr'
,
'de'
,
'bg'
,
)
LANGUAGE_LIST
=
(
'en'
,
'fr'
,
'de'
,
'bg'
,
)
HTTP_OK
=
200
HTTP_OK
=
200
...
@@ -194,6 +194,7 @@ class TestERP5Web(ERP5TypeTestCase):
...
@@ -194,6 +194,7 @@ class TestERP5Web(ERP5TypeTestCase):
self
.
assertEquals
(
"""Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé
self
.
assertEquals
(
"""Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé Hé
Hé Hé Hé!"""
,
page
.
asText
().
strip
())
Hé Hé Hé!"""
,
page
.
asText
().
strip
())
@
skip
(
'WebSite_createWebSiteAccount is disabled by default.'
)
def
test_03_CreateWebSiteUser
(
self
):
def
test_03_CreateWebSiteUser
(
self
):
"""
"""
Create Web site User.
Create Web site User.
...
...
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