Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple responses from Spy #3

Open
younata opened this issue Mar 29, 2024 · 0 comments
Open

Support multiple responses from Spy #3

younata opened this issue Mar 29, 2024 · 0 comments
Milestone

Comments

@younata
Copy link
Member

younata commented Mar 29, 2024

In Python's Mock, you can configure the side_effect property to return an array of values. If you do this, the mock will return those values one after another when called.

Spy should support something similar.

@younata younata added this to the 1.0 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant