You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Failure in test test_validator_translation (collective.easyform.tests.testValidators.TestBaseValidators.test_validator_translation)
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/unittest/case.py", line 57, in testPartExecutor
yield
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/unittest/case.py", line 623, in run
self._callTestMethod(testMethod)
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/unittest/case.py", line 579, in _callTestMethod
if method() is not None:
File "/home/runner/work/collective.easyform/collective.easyform/src/collective/easyform/tests/testValidators.py", line 177, in test_validator_translation
self.assertEqual(errors[0].createMessage(), expected_error_message)
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/unittest/case.py", line 873, in assertEqual
assertion_func(first, second, msg=msg)
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/unittest/case.py", line 1253, in assertMultiLineEqual
self.fail(self._formatMessage(msg, standardMsg))
File "/opt/hostedtoolcache/Python/3.11.10/x64/lib/python3.11/unittest/case.py", line 703, in fail
raise self.failureException(msg)
AssertionError: "Validation failed(isInternationalPhoneNumber):[54 chars]ber." != "Validierung fehlgeschlagen (isInternationalPho[68 chars]mmer"
- Validation failed(isInternationalPhoneNumber): 'testcomments' is not a valid international phone number.
+ Validierung fehlgeschlagen (isInternationalPhoneNumber): 'testcomments' Ist keine gültige internationale Telefonnummer
Locally the test works.
Apparently it is related to something that changed between Plone 6.0.12 and 6.0.13 because this patch:
In Plone 6.0.13 some translations were moved to Products.validation.
In order to load them, the zcml that loads the translation catalog should be loaded.
The test that breaks on GHA is:
Locally the test works.
Apparently it is related to something that changed between Plone 6.0.12 and 6.0.13 because this patch:
fixes the GHA.
The text was updated successfully, but these errors were encountered: