Closed arseniymerkulov closed 1 year ago
I think you may be pushing the boundaries of what Capturemock is capable of here :) I have not encountered compiled properties before. Potentially support for them could be added, but I doubt I'll have time to look at that any time soon...
Your analysis of the problem seems correct, in any case.
I'm a little unsure what you're trying to achieve by capturemocking "model.fit" though. Isn't that the main function you're trying to test here? The point of capturemock is normally to capture and fix something outside of your control, in order to have stable input to something you do control.
No, i am trying to test model behavior without model fitting and keras installed. Thank you for your answer
I want to capturemock keras fit function to receive fitted model results without keras installed. Following code causes error:
For keras it seems like model.compile function didnt executed. I think its because capturemock wrapping entity for model.fit didnt have compiled properties from keras. Can i fix this? For example, can i record only result of all model preparation methods jointly with creating only one mocking entity?