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

fix: mock.called_once is not a valid test #602

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Psycojoker
Copy link
Collaborator

No description provided.

@Psycojoker
Copy link
Collaborator Author

@hoh so, I could actually never fix this broken test on #574 because : it actually never worked as expected, just that the mock library started adding method to ensure you don't do erroneous call like using called_once instead of assert_called_once

Do you have an idea if that's a real bug or a bad test?

@Psycojoker
Copy link
Collaborator Author

Well, according to #603 this test never worked, is it a real bug then?

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

Successfully merging this pull request may close these issues.

1 participant