FIX - TestSuite source to get the right interface based on the service type (#18838)

This commit is contained in:
Pere Miquel Brull 2024-11-28 14:08:11 +01:00 committed by GitHub
parent e22fc6ddeb
commit f99ed517bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,9 +49,10 @@ class BaseTestSuiteRunner:
):
self.validator_builder_class = ValidatorBuilder
self._interface = None
self._interface_type: str = config.source.type.lower()
self.entity = entity
self.service_conn_config = self._copy_service_config(config, self.entity.database) # type: ignore
self._interface_type: str = self.service_conn_config.type.value.lower()
self.source_config = TestSuitePipeline.model_validate(
config.source.sourceConfig.config
)