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
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
Steven Gueguen
slapos
Commits
f9d624ef
Commit
f9d624ef
authored
Feb 13, 2023
by
Jérome Perrin
Committed by
Łukasz Nowak
Feb 20, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/erp5/test: fix typos
parent
42498d00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
software/erp5/test/test/__init__.py
software/erp5/test/test/__init__.py
+2
-2
software/erp5/test/test/test_erp5.py
software/erp5/test/test/test_erp5.py
+1
-1
No files found.
software/erp5/test/test/__init__.py
View file @
f9d624ef
...
@@ -55,7 +55,7 @@ def setUpModule():
...
@@ -55,7 +55,7 @@ def setUpModule():
class
ERP5InstanceTestMeta
(
type
):
class
ERP5InstanceTestMeta
(
type
):
"""Adjust ERP5InstanceTestCase instances to be run in several flavours (e.g. NEO/ZEO)
"""Adjust ERP5InstanceTestCase instances to be run in several flavours (e.g. NEO/ZEO)
Adjust
e
ments can be declared via setting the '__test_matrix__' attribute
Adjustments can be declared via setting the '__test_matrix__' attribute
of a test case.
of a test case.
A test matrix is a dict which maps the flavoured class name suffix to
A test matrix is a dict which maps the flavoured class name suffix to
a tuple of parameters.
a tuple of parameters.
...
@@ -181,7 +181,7 @@ class ERP5InstanceTestCase(SlapOSInstanceTestCase, metaclass=ERP5InstanceTestMet
...
@@ -181,7 +181,7 @@ class ERP5InstanceTestCase(SlapOSInstanceTestCase, metaclass=ERP5InstanceTestMet
@
classmethod
@
classmethod
def
getRootPartitionConnectionParameterDict
(
cls
):
def
getRootPartitionConnectionParameterDict
(
cls
):
"""Return the output paramters from the root partition"""
"""Return the output param
e
ters from the root partition"""
return
json
.
loads
(
return
json
.
loads
(
cls
.
computer_partition
.
getConnectionParameterDict
()[
'_'
])
cls
.
computer_partition
.
getConnectionParameterDict
()[
'_'
])
...
...
software/erp5/test/test/test_erp5.py
View file @
f9d624ef
...
@@ -829,7 +829,7 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
...
@@ -829,7 +829,7 @@ class ZopeTestMixin(ZopeSkinsMixin, CrontabMixin):
)
)
if
not
resp
.
ok
:
if
not
resp
.
ok
:
# XXX we start by flushing existing activities from site creation
# XXX we start by flushing existing activities from site creation
# and inital upgrader run. During this time it may happen that
# and init
i
al upgrader run. During this time it may happen that
# ERP5 replies with site errors, we tolerate these errors and only
# ERP5 replies with site errors, we tolerate these errors and only
# check the final state.
# check the final state.
continue
continue
...
...
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