Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
105
Merge Requests
105
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
a31f5dfb
Commit
a31f5dfb
authored
Aug 30, 2022
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/erp5/test: stop testing for wsgi: False
Only wsgi is supported with Zope 4
parent
45f98fa1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
18 deletions
+1
-18
software/erp5/test/test/test_erp5.py
software/erp5/test/test/test_erp5.py
+1
-18
No files found.
software/erp5/test/test/test_erp5.py
View file @
a31f5dfb
...
@@ -124,16 +124,6 @@ class TestDefaultParameters(ERP5InstanceTestCase, TestPublishedURLIsReachableMix
...
@@ -124,16 +124,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
"""
"""
...
@@ -527,8 +517,6 @@ class ZopeSkinsMixin:
...
@@ -527,8 +517,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
...
@@ -547,8 +535,7 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
...
@@ -547,8 +535,7 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
"port-base"
:
2210
,
"port-base"
:
2210
,
},
},
},
},
"wsgi"
:
cls
.
wsgi
,
}),
})
}
}
@
classmethod
@
classmethod
...
@@ -886,12 +873,8 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
...
@@ -886,12 +873,8 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
'zope-2-event.log'
,
'zope-2-event.log'
,
])
])
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
):
...
...
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