-
Notifications
You must be signed in to change notification settings - Fork 0
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
ADCM-6076 Add unit tests #7
Conversation
assert all(map(check_entry, result)) | ||
assert len(requester.queue) == len(response_sequence) - 1 | ||
|
||
# all |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe to split it by pytest parametrization into subtests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
subtests (as in unittest) isn't naturally supported in pytest
but if you mean splitting by method -- checks aren't the same for all of them (some require extra checks)
if you mean making parametrized test instead of _test*
-- it's a good idea, but in this particular case I see only "magical" implementation of it (since it's convenient to bond some values before the _test*
call)
No description provided.