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 order of mocks in tests for the refactored data model #420

Closed
meretp opened this issue Jan 11, 2023 · 1 comment
Closed

fix order of mocks in tests for the refactored data model #420

meretp opened this issue Jan 11, 2023 · 1 comment

Comments

@meretp
Copy link
Collaborator

meretp commented Jan 11, 2023

As described here mocks are passed in to the decorated function in the order they applied, so bottom up. Therefore the order in the current tests need to be changed (e.g. here. This doesn't lead to faliing tests since typeguard ignores instances of Mock or MagicMock (see here).

@meretp
Copy link
Collaborator Author

meretp commented Jan 11, 2023

fixed with #421

@meretp meretp closed this as completed Jan 11, 2023
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