Compare commits

..

1 Commits

Author SHA1 Message Date
Valentin Deniaud 12e6ca4e51 workflow_tests: preserve response of webservice assertion on test duplication (#88729)
gitea/wcs/pipeline/head There was a failure building this commit Details
2024-03-27 10:59:42 +01:00
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ from wcs.qommon.form import (
)
from wcs.qommon.humantime import humanduration2seconds, seconds2humanduration, timewords
from wcs.qommon.xml_storage import XmlStorableObject
from wcs.testdef import TestError, WebserviceResponse
from wcs.testdef import TestError
from wcs.wf.backoffice_fields import SetBackofficeFieldRowWidget, SetBackofficeFieldsTableWidget
from wcs.wf.profile import FieldNode
@ -696,7 +696,7 @@ class AssertWebserviceCall(WorkflowTestAction):
def perform(self, formdata):
try:
webservice_response = [
response = [
x
for x in self.parent.testdef.get_webservice_responses()
if x.uuid == self.webservice_response_uuid