Support several mocks of the same API method in the testing framework #228
Labels
Priority/2-Low
To do after P1
Status/Draft
The issue is still not well defined
Type/DevChore
Repository maintainance, CI/CD or non user-facing refactorings
Description
Currently, the
khiops.sklearn
module is tested by mocking the underlyingkhiops.core.api
functions. Thus, for each method of thekhiops.sklearn
estimators one can define a series of mockedkhiops.core.api
functions.However, the current testing framework does not support defining several mocks of the same
khiops.core.api
function for akhiops.sklearn
estimator method. This is needed to be able to mockkhiops.core.api
functions that are called several times in the samekhiops.sklearn
estimator method call.Questions/Ideas
khiops.sklearn
estimator method.khiops.core.api
function is called once or several times, for that matter!) can depend on the inputs.The text was updated successfully, but these errors were encountered: