Commit 330d8b6c authored by Romain Courteaud's avatar Romain Courteaud

Drop unused erpypi

parent c78d4974
...@@ -40,6 +40,5 @@ erp5_tax_resource ...@@ -40,6 +40,5 @@ erp5_tax_resource
erp5_tiosafe_core erp5_tiosafe_core
erp5_trade erp5_trade
erp5_web erp5_web
erp5_web_download_theme
erp5_xhtml_jquery_style erp5_xhtml_jquery_style
slapos_cloud slapos_cloud
\ No newline at end of file
510 511
\ No newline at end of file \ No newline at end of file
114 115
\ No newline at end of file \ No newline at end of file
web_site_module/cash web_site_module/cash
web_site_module/erpypi \ No newline at end of file
\ No newline at end of file
web_site_module/cash web_site_module/cash
web_site_module/cash/** web_site_module/cash/**
web_site_module/erpypi \ No newline at end of file
web_site_module/erpypi/**
\ No newline at end of file
...@@ -120,7 +120,6 @@ class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin): ...@@ -120,7 +120,6 @@ class testSlapOSMixin(Products.Vifib.tests.VifibMixin.testVifibMixin):
'erp5_credential', 'erp5_credential',
'erp5_credential_oauth2', 'erp5_credential_oauth2',
'erp5_km', 'erp5_km',
'erp5_web_download_theme',
'erp5_tiosafe_core', 'erp5_tiosafe_core',
'erp5_system_event', 'erp5_system_event',
'erp5_secure_payment', 'erp5_secure_payment',
......
...@@ -69,7 +69,6 @@ class testVifibMixin(ERP5TypeTestCase): ...@@ -69,7 +69,6 @@ class testVifibMixin(ERP5TypeTestCase):
'erp5_knowledge_pad', 'erp5_knowledge_pad',
'erp5_credential', 'erp5_credential',
'erp5_tax_resource', 'erp5_tax_resource',
'erp5_web_download_theme',
'slapos_cloud', 'slapos_cloud',
'erp5_open_trade', 'erp5_open_trade',
'erp5_tiosafe_core', 'erp5_tiosafe_core',
......
...@@ -847,7 +847,6 @@ vifib_test ...@@ -847,7 +847,6 @@ vifib_test
vifib_web_ui_test vifib_web_ui_test
vifib_configurator vifib_configurator
erp5_km erp5_km
erp5_web_download_theme
erp5_knowledge_pad erp5_knowledge_pad
erp5_simulation erp5_simulation
erp5_dms_base erp5_dms_base
......
...@@ -89,25 +89,6 @@ class TestVifibWebSite(testVifibMixin): ...@@ -89,25 +89,6 @@ class TestVifibWebSite(testVifibMixin):
response.getHeader('content-type')) response.getHeader('content-type'))
self.assertTrue("Enjoy Decentralized Cloud Computing" in response.getBody()) self.assertTrue("Enjoy Decentralized Cloud Computing" in response.getBody())
def test_06_checkERPypiAccess(self):
"""
Test ERPypi access
"""
module = self.portal.getDefaultModule(self.web_site_portal_type)
web_site = getattr(module, 'erpypi')
#Check web site is present
self.assertTrue(web_site is not None, "Website not found")
# Test anonymous
response = self.publish('/%s/%s' % \
(self.portal.getId(), web_site.getRelativeUrl())
)
self.assertEquals(HTTP_OK, response.getStatus())
self.assertEquals('text/html; charset=utf-8',
response.getHeader('content-type'))
self.assertTrue("Home" in response.getBody())
def test_suite(): def test_suite():
suite = unittest.TestSuite() suite = unittest.TestSuite()
......
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