Skip to content

Handle calling side_effect and return_value with spies #14

Description

@ollipa

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions