Commit eaae9274 authored by Jérome Perrin's avatar Jérome Perrin

software/erp5/test: stop testing for wsgi: False

Only wsgi is supported with Zope 4
parent b339b3ee
...@@ -123,16 +123,6 @@ class TestDefaultParameters(ERP5InstanceTestCase, TestPublishedURLIsReachableMix ...@@ -123,16 +123,6 @@ class TestDefaultParameters(ERP5InstanceTestCase, TestPublishedURLIsReachableMix
__test_matrix__ = matrix((default,)) __test_matrix__ = matrix((default,))
class TestMedusa(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
"""Test ERP5 Medusa server
"""
__partition_reference__ = 'medusa'
@classmethod
def getInstanceParameterDict(cls):
return {'_': json.dumps({'wsgi': False})}
class TestJupyter(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin): class TestJupyter(ERP5InstanceTestCase, TestPublishedURLIsReachableMixin):
"""Test ERP5 Jupyter notebook """Test ERP5 Jupyter notebook
""" """
...@@ -523,8 +513,6 @@ class ZopeSkinsMixin: ...@@ -523,8 +513,6 @@ class ZopeSkinsMixin:
class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin): class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
"""Mixin class for zope features. """Mixin class for zope features.
""" """
wsgi = NotImplemented # type: bool
__partition_reference__ = 'z' __partition_reference__ = 'z'
@classmethod @classmethod
...@@ -538,8 +526,7 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin): ...@@ -538,8 +526,7 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
"longrequest-logger-timeout": 1, "longrequest-logger-timeout": 1,
}, },
}, },
"wsgi": cls.wsgi, }),
})
} }
@classmethod @classmethod
...@@ -852,12 +839,8 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin): ...@@ -852,12 +839,8 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
wait_for_activities(10) wait_for_activities(10)
class TestZopeMedusa(ZopeTestMixin, ERP5InstanceTestCase):
wsgi = False
class TestZopeWSGI(ZopeTestMixin, ERP5InstanceTestCase): class TestZopeWSGI(ZopeTestMixin, ERP5InstanceTestCase):
wsgi = True
@unittest.expectedFailure @unittest.expectedFailure
def test_basic_authentication_user_in_access_log(self): def test_basic_authentication_user_in_access_log(self):
......
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