You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice if the stubber had a solution for being able to ignore randomly generated values in the input. For example:
idempotency tokens
statement ids
And really anything that typically is a random value.
There's a few ways I can think of to accomplish this. In mock, you can use mock.ANY to indicate that you don't care about the value. In the CLI we have an ignore_params for assert_params_for_cmd, though this only works for top level params (which typically is sufficient).
The text was updated successfully, but these errors were encountered:
It would be nice if the stubber had a solution for being able to ignore randomly generated values in the input. For example:
And really anything that typically is a random value.
There's a few ways I can think of to accomplish this. In
mock
, you can usemock.ANY
to indicate that you don't care about the value. In the CLI we have anignore_params
forassert_params_for_cmd
, though this only works for top level params (which typically is sufficient).The text was updated successfully, but these errors were encountered: