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
Merge pull request #132 from anastasiamac/stub-check-calls-without-order
Stub check calls without order.
All current methods on testing Stub assume that the order of calls matters.
However, there are situations where we only care about the fact that the calls where made, not in what order they were made. For example, intermittent failures in https://bugs.launchpad.net/juju/+bug/1742222 specifically occur because we expect the calls to have been made but the calls in asynchronous system can be made in any order.
This PR adds a method that allows to check that the expected calls where made, not when they were made.
0 commit comments