Commit f44ef093 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

skip tests that call WebSite_createWebSiteAccount.

parent 45311aff
...@@ -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
......
...@@ -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.
......
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