Commit f9d624ef authored by Jérome Perrin's avatar Jérome Perrin Committed by Łukasz Nowak

software/erp5/test: fix typos

parent 42498d00
...@@ -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)
Adjustements 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 parameters from the root partition"""
return json.loads( return json.loads(
cls.computer_partition.getConnectionParameterDict()['_']) cls.computer_partition.getConnectionParameterDict()['_'])
......
...@@ -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 initial 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
......
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