Right now, nothing happens if side_effect or return_value is called when spying. Should a a warning or an exception be raised if those methods are called? Should a custom logic be implemented to match the return value of the spy so these methods could actually be useful with spies?
Right now, nothing happens if
side_effectorreturn_valueis called when spying. Should a a warning or an exception be raised if those methods are called? Should a custom logic be implemented to match the return value of the spy so these methods could actually be useful with spies?